]> granicus.if.org Git - nethack/commitdiff
remove line of unreachable code (trunk only)
authornethack.allison <nethack.allison>
Sat, 21 Jan 2012 12:39:03 +0000 (12:39 +0000)
committernethack.allison <nethack.allison>
Sat, 21 Jan 2012 12:39:03 +0000 (12:39 +0000)
src/lock.c

index 7bd6a25180b7a480f41006f642687654a06c3eb9..87b54cca309e85ef9163bca76c5f0fb6470599cc 100644 (file)
@@ -273,7 +273,6 @@ pick_lock(pick)
        if(nohands(youmonst.data)) {
                You_cant("hold %s -- you have no hands!", doname(pick));
                return PICKLOCK_DID_NOTHING;
-               return(0);
        } else if (u.uswallow) {
                You_cant("%sunlock %s.",
 #ifdef TOURIST