]> granicus.if.org Git - nethack/commitdiff
Address a build warning and a complaint
authornethack.allison <nethack.allison>
Wed, 6 May 2009 21:59:42 +0000 (21:59 +0000)
committernethack.allison <nethack.allison>
Wed, 6 May 2009 21:59:42 +0000 (21:59 +0000)
topl.c
..\win\tty\topl.c(595) : warning C4101: 'ln' : unreferenced local variable

win/share/tile.h
win/tty/topl.c

index 8af84bbb4073c552618e3a1e9346723ab28632a0..e2249414f4226d52d21ef0063fa371185fa762dd 100644 (file)
@@ -1,7 +1,7 @@
 /* NetHack 3.5  tile.h       $Date$  $Revision$ */
 typedef unsigned char pixval;
 
-typedef struct pixel_t {
+typedef struct pixel_s {
     pixval r, g, b;
 } pixel;
 
index 87455468a7de281fcada8ad8ff73a8f1518defba..c717ba050e2e1907fa56a66b1f892789858a57c4 100644 (file)
@@ -592,7 +592,6 @@ msghistory_snapshot(purge)
 boolean purge;         /* clear message history buffer as we copy it */
 {
     nhwchar *mesg;
-    unsigned ln;
     int i, inidx, outidx;
     struct WinDesc *cw;