diff options
author | christos <christos@NetBSD.org> | 2006-05-14 03:15:50 +0000 |
---|---|---|
committer | christos <christos@NetBSD.org> | 2006-05-14 03:15:50 +0000 |
commit | 260ec964da59b9e72f8de7b2a0a6178f361c1c86 (patch) | |
tree | 58f8785d618b4666e365dd0e0bb90233ebf765d2 /rogue/inventory.c | |
parent | 3dd8bc6924dada5dac7baeb14421fab2ab28653f (diff) | |
download | bsdgames-darwin-260ec964da59b9e72f8de7b2a0a6178f361c1c86.tar.gz bsdgames-darwin-260ec964da59b9e72f8de7b2a0a6178f361c1c86.tar.zst bsdgames-darwin-260ec964da59b9e72f8de7b2a0a6178f361c1c86.zip |
XXX: GCC uninitialized
Diffstat (limited to 'rogue/inventory.c')
-rw-r--r-- | rogue/inventory.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rogue/inventory.c b/rogue/inventory.c index db28c2c3..1439de99 100644 --- a/rogue/inventory.c +++ b/rogue/inventory.c @@ -1,4 +1,4 @@ -/* $NetBSD: inventory.c,v 1.9 2003/08/07 09:37:38 agc Exp $ */ +/* $NetBSD: inventory.c,v 1.10 2006/05/14 03:15:50 christos Exp $ */ /* * Copyright (c) 1988, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)inventory.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: inventory.c,v 1.9 2003/08/07 09:37:38 agc Exp $"); +__RCSID("$NetBSD: inventory.c,v 1.10 2006/05/14 03:15:50 christos Exp $"); #endif #endif /* not lint */ @@ -394,7 +394,7 @@ pr_motion_char(ch) (ch == '\016') || (ch == '\002')) { char until[18], buf[DCOLS]; - int n; + int n = 0; /* XXX: GCC */ if (ch <= '\031') { ch += 96; |