diff options
author | Damien Miller <djm@mindrot.org> | 2004-03-08 23:13:00 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2004-03-08 23:13:00 +1100 |
commit | 3b51301a4b30fbb421397f2cb3bcf11b593b2532 (patch) | |
tree | 8eebace6486d05c29fca7126c9bfd0028ccdf944 /ssh-keyscan.c | |
parent | bd394c329b2356cc29fe76cc02ff1c63d3e8cd3c (diff) |
- djm@cvs.openbsd.org 2004/03/08 09:38:05
[ssh-keyscan.c]
explicitly initialise remote_major and remote_minor.
from cjwatson AT debian.org; ok markus@
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r-- | ssh-keyscan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-keyscan.c b/ssh-keyscan.c index 68b6a0ad1..266b23cb3 100644 --- a/ssh-keyscan.c +++ b/ssh-keyscan.c | |||
@@ -7,7 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include "includes.h" | 9 | #include "includes.h" |
10 | RCSID("$OpenBSD: ssh-keyscan.c,v 1.46 2003/11/23 23:17:34 djm Exp $"); | 10 | RCSID("$OpenBSD: ssh-keyscan.c,v 1.47 2004/03/08 09:38:05 djm Exp $"); |
11 | 11 | ||
12 | #include "openbsd-compat/sys-queue.h" | 12 | #include "openbsd-compat/sys-queue.h" |
13 | 13 | ||
@@ -489,7 +489,7 @@ conrecycle(int s) | |||
489 | static void | 489 | static void |
490 | congreet(int s) | 490 | congreet(int s) |
491 | { | 491 | { |
492 | int remote_major, remote_minor, n = 0; | 492 | int remote_major = 0, remote_minor = 0, n = 0; |
493 | char buf[256], *cp; | 493 | char buf[256], *cp; |
494 | char remote_version[sizeof buf]; | 494 | char remote_version[sizeof buf]; |
495 | size_t bufsiz; | 495 | size_t bufsiz; |