]> granicus.if.org Git - nethack/commitdiff
build warning (trunk only)
authornethack.allison <nethack.allison>
Fri, 5 Jan 2007 23:12:27 +0000 (23:12 +0000)
committernethack.allison <nethack.allison>
Fri, 5 Jan 2007 23:12:27 +0000 (23:12 +0000)
..\src\lock.c(184) : warning C4101: 'otmp' : unreferenced local variable

src/lock.c

index 44438304708accb6f1efd0f6fd0eaedd7500b5a6..b0e77eb6f4248998b730591bcb9df190799a542f 100644 (file)
@@ -181,8 +181,6 @@ STATIC_PTR
 int
 forcelock(VOID_ARGS)   /* try to force a locked chest */
 {
-       register struct obj *otmp;
-
        if((xlock.box->ox != u.ux) || (xlock.box->oy != u.uy))
                return((xlock.usedtime = 0));           /* you or it moved */