build warning (trunk only)

..\src\lock.c(184) : warning C4101: 'otmp' : unreferenced local variable
This commit is contained in:
nethack.allison
2007-01-05 23:12:27 +00:00
parent 76345fb40c
commit 19262b615b

View 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 */