Address a build warning and a complaint

topl.c
..\win\tty\topl.c(595) : warning C4101: 'ln' : unreferenced local variable
This commit is contained in:
nethack.allison
2009-05-06 21:59:42 +00:00
parent 9e4dc50b5a
commit ebac3eee16
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
/* NetHack 3.5 tile.h $Date$ $Revision$ */ /* NetHack 3.5 tile.h $Date$ $Revision$ */
typedef unsigned char pixval; typedef unsigned char pixval;
typedef struct pixel_t { typedef struct pixel_s {
pixval r, g, b; pixval r, g, b;
} pixel; } pixel;
-1
View File
@@ -592,7 +592,6 @@ msghistory_snapshot(purge)
boolean purge; /* clear message history buffer as we copy it */ boolean purge; /* clear message history buffer as we copy it */
{ {
nhwchar *mesg; nhwchar *mesg;
unsigned ln;
int i, inidx, outidx; int i, inidx, outidx;
struct WinDesc *cw; struct WinDesc *cw;