From af91e757f56cf7c8dc5ffb87b5bc4a493657edc4 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Sat, 26 Nov 2005 04:00:22 +0000 Subject: [PATCH] build clean-up (trunk only) ../src/detect.c(715) : warning C4101: 'obj' : unreferenced local variable --- src/detect.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/detect.c b/src/detect.c index 2b1e16fff..c5acc0cb3 100644 --- a/src/detect.c +++ b/src/detect.c @@ -712,7 +712,6 @@ register struct obj *sobj; /* sobj is null if crystal ball, *scroll if gold detection scroll */ { register struct trap *ttmp; - register struct obj *obj; struct monst *mon; int door, glyph, tr; int uw = u.uinwater, cursed_src = sobj && sobj->cursed; -- 2.50.1