summaryrefslogtreecommitdiff
path: root/games/hack/hack.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-03-11 07:41:11 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-03-11 07:41:11 +0000
commitc2fcd898a32efd3e4bef0ed37c19eed602ffa14d (patch)
treed6a5ca9ecf8dab6869fda5a63de59f047bd3a159 /games/hack/hack.c
parentf8bc29802308a0c0a9070c0c648f6b063ed58257 (diff)
lint is dead (long live the lint!)
Diffstat (limited to 'games/hack/hack.c')
-rw-r--r--games/hack/hack.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/games/hack/hack.c b/games/hack/hack.c
index 881bca4b702..30b8b203508 100644
--- a/games/hack/hack.c
+++ b/games/hack/hack.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hack.c,v 1.8 2009/10/27 23:59:25 deraadt Exp $ */
+/* $OpenBSD: hack.c,v 1.9 2014/03/11 07:41:10 guenther Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -540,10 +540,6 @@ lookaround()
int corrct = 0, noturn = 0;
struct monst *mtmp;
-#ifdef lint
- /* suppress "used before set" message */
- x0 = y0 = 0;
-#endif /* lint */
if (Blind || flags.run == 0) return;
if (flags.run == 1 && levl[(int)u.ux][(int)u.uy].typ == ROOM)
return;