diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2004-03-08 09:38:06 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2004-03-08 09:38:06 +0000 |
commit | 2de9eb4a7430ccc68e5482ab32c2502c9ae07e1c (patch) | |
tree | 1bba2d7ce795b8a3079a9cca7996ff02ad222fad | |
parent | 4951bfb787b64b3212a1eeeec549272dcdef5d98 (diff) |
explicitly initialise remote_major and remote_minor.
from cjwatson AT debian.org; ok markus@
-rw-r--r-- | usr.bin/ssh/ssh-keyscan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-keyscan.c b/usr.bin/ssh/ssh-keyscan.c index 348bc3a6d29..c83b7a49bcc 100644 --- a/usr.bin/ssh/ssh-keyscan.c +++ b/usr.bin/ssh/ssh-keyscan.c @@ -7,7 +7,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-keyscan.c,v 1.46 2003/11/23 23:17:34 djm Exp $"); +RCSID("$OpenBSD: ssh-keyscan.c,v 1.47 2004/03/08 09:38:05 djm Exp $"); #include <sys/queue.h> #include <errno.h> @@ -476,7 +476,7 @@ conrecycle(int s) static void congreet(int s) { - int remote_major, remote_minor, n = 0; + int remote_major = 0, remote_minor = 0, n = 0; char buf[256], *cp; char remote_version[sizeof buf]; size_t bufsiz; |