diff options
author | christos <christos@NetBSD.org> | 1999-05-16 00:15:46 +0000 |
---|---|---|
committer | christos <christos@NetBSD.org> | 1999-05-16 00:15:46 +0000 |
commit | 13fa958aa04d07848bd49152c0d618a003a191ce (patch) | |
tree | e15b769cedcee8ce10cd283ebb06eb9c1cdc1fa4 /robots | |
parent | 7e276a03812df02c083eaffc9cc2d5fff4bcf11d (diff) | |
download | bsdgames-darwin-13fa958aa04d07848bd49152c0d618a003a191ce.tar.gz bsdgames-darwin-13fa958aa04d07848bd49152c0d618a003a191ce.tar.zst bsdgames-darwin-13fa958aa04d07848bd49152c0d618a003a191ce.zip |
Fixi uninit vars warnings.
Diffstat (limited to 'robots')
-rw-r--r-- | robots/auto.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/robots/auto.c b/robots/auto.c index defe195d..03842278 100644 --- a/robots/auto.c +++ b/robots/auto.c @@ -1,4 +1,4 @@ -/* $NetBSD: auto.c,v 1.2 1999/05/16 00:03:35 christos Exp $ */ +/* $NetBSD: auto.c,v 1.3 1999/05/16 00:15:46 christos Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -181,7 +181,7 @@ static COORD * closest_robot(dist) int *dist; { - COORD *rob, *end, *minrob; + COORD *rob, *end, *minrob = NULL; int tdist, mindist; mindist = 1000000; @@ -205,7 +205,7 @@ static COORD * closest_heap(dist) int *dist; { - COORD *hp, *end, *minhp; + COORD *hp, *end, *minhp = NULL; int mindist, tdist; mindist = 1000000; |