From ebac3eee16520980966490f8790caf3e552be928 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Wed, 6 May 2009 21:59:42 +0000 Subject: [PATCH] Address a build warning and a complaint topl.c ..\win\tty\topl.c(595) : warning C4101: 'ln' : unreferenced local variable --- win/share/tile.h | 2 +- win/tty/topl.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/win/share/tile.h b/win/share/tile.h index 8af84bbb4..e2249414f 100644 --- a/win/share/tile.h +++ b/win/share/tile.h @@ -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; diff --git a/win/tty/topl.c b/win/tty/topl.c index 87455468a..c717ba050 100644 --- a/win/tty/topl.c +++ b/win/tty/topl.c @@ -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; -- 2.40.0