]> granicus.if.org Git - nethack/commitdiff
Remove unused variable.
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Wed, 9 Mar 2016 09:56:26 +0000 (10:56 +0100)
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Wed, 9 Mar 2016 09:56:26 +0000 (10:56 +0100)
util/makedefs.c

index 2969b66456ff22b38cf11763eefcb0bccaa24cc4..dc02b93dfca97aa35d82da6e466a82fe1f875f33 100644 (file)
@@ -1963,7 +1963,6 @@ do_oracles()
 void
 do_dungeon()
 {
-    int rcnt = 0;
     char *line;
 
     Sprintf(filename, DATA_IN_TEMPLATE, DGN_I_FILE);
@@ -1989,7 +1988,6 @@ do_dungeon()
     while ((line = fgetline(ifp)) != 0) {
         SpinCursor(3);
 
-        rcnt++;
         if (line[0] == '#') {
             free(line);
             continue; /* discard comments */