diff options
author | dtucker <dtucker> | 2005-08-02 07:07:07 +0000 |
---|---|---|
committer | dtucker <dtucker> | 2005-08-02 07:07:07 +0000 |
commit | 64e2975f60e79508f8a0fef546aa832fab369d29 (patch) | |
tree | ed295e35d957ea6defef961a3537496c73989b25 /hostfile.c | |
parent | f647f727eefbe2e333470ba01508a9aaba7ef5af (diff) | |
download | openssh-64e2975f60e79508f8a0fef546aa832fab369d29.tar.gz |
- dtucker@cvs.openbsd.org 2005/07/27 10:39:03
[scp.c hostfile.c sftp-client.c]
Silence bogus -Wuninitialized warnings; ok djm@
Diffstat (limited to 'hostfile.c')
-rw-r--r-- | hostfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,7 +36,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: hostfile.c,v 1.34 2005/03/10 22:01:05 deraadt Exp $"); +RCSID("$OpenBSD: hostfile.c,v 1.35 2005/07/27 10:39:03 dtucker Exp $"); #include <resolv.h> #include <openssl/hmac.h> @@ -315,7 +315,7 @@ add_host_to_hostfile(const char *filename, const char *host, const Key *key, { FILE *f; int success = 0; - char *hashed_host; + char *hashed_host = NULL; if (key == NULL) return 1; /* XXX ? */ |