]> granicus.if.org Git - nethack/commitdiff
fix warning without STEED defined
authornethack.allison <nethack.allison>
Tue, 18 Feb 2003 12:28:35 +0000 (12:28 +0000)
committernethack.allison <nethack.allison>
Tue, 18 Feb 2003 12:28:35 +0000 (12:28 +0000)
src/pray.c

index d9cad716d7719f361cec0194e92280ed8bfdb5f3..4714d153114f9b7f29abd80eaecf47b278af02ff 100644 (file)
@@ -115,7 +115,9 @@ but that's really hard.
 STATIC_OVL int
 in_trouble()
 {
+#ifdef STEED
        register struct obj *otmp;
+#endif
        int i, j, count=0;
 
 /* Borrowed from eat.c */