summaryrefslogtreecommitdiffstats
path: root/hack/hack.mon.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2011-08-07 06:03:45 +0000
committerdholland <dholland@NetBSD.org>2011-08-07 06:03:45 +0000
commit04539cb235b06fd8cacf5c4c40081bd86e0dfa04 (patch)
tree0ce2c465383e0aecdf9d0d1192b34a137636b113 /hack/hack.mon.c
parent18451d9c4ce377951796a0ac6188ca7b1bf34335 (diff)
downloadbsdgames-darwin-04539cb235b06fd8cacf5c4c40081bd86e0dfa04.tar.gz
bsdgames-darwin-04539cb235b06fd8cacf5c4c40081bd86e0dfa04.tar.zst
bsdgames-darwin-04539cb235b06fd8cacf5c4c40081bd86e0dfa04.zip
Fix up some lint.
Diffstat (limited to 'hack/hack.mon.c')
-rw-r--r--hack/hack.mon.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hack/hack.mon.c b/hack/hack.mon.c
index ef80361c..8dd587ec 100644
--- a/hack/hack.mon.c
+++ b/hack/hack.mon.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.mon.c,v 1.13 2011/08/06 20:29:37 dholland Exp $ */
+/* $NetBSD: hack.mon.c,v 1.14 2011/08/07 06:03:45 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.mon.c,v 1.13 2011/08/06 20:29:37 dholland Exp $");
+__RCSID("$NetBSD: hack.mon.c,v 1.14 2011/08/07 06:03:45 dholland Exp $");
#endif /* not lint */
#include <stdlib.h>
@@ -848,6 +848,7 @@ killed(struct monst *mtmp)
{
int ul = u.ulevel;
int ml = mdat->mlevel;
+ int tmp2;
if (ul < 14) /* points are given based on present and
* future level */