diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | hostfile.c | 4 | ||||
-rw-r--r-- | scp.c | 4 | ||||
-rw-r--r-- | sftp-client.c | 4 |
4 files changed, 13 insertions, 7 deletions
@@ -1,3 +1,9 @@ | |||
1 | 20050802 | ||
2 | - (dtucker) OpenBSD CVS Sync | ||
3 | - dtucker@cvs.openbsd.org 2005/07/27 10:39:03 | ||
4 | [scp.c hostfile.c sftp-client.c] | ||
5 | Silence bogus -Wuninitialized warnings; ok djm@ | ||
6 | |||
1 | 20050726 | 7 | 20050726 |
2 | - (dtucker) [configure.ac] Update zlib warning message too, pointed out by | 8 | - (dtucker) [configure.ac] Update zlib warning message too, pointed out by |
3 | tim@. | 9 | tim@. |
@@ -2879,4 +2885,4 @@ | |||
2879 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 2885 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
2880 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 2886 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
2881 | 2887 | ||
2882 | $Id: ChangeLog,v 1.3857 2005/07/26 11:54:56 djm Exp $ | 2888 | $Id: ChangeLog,v 1.3858 2005/08/02 07:07:07 dtucker Exp $ |
diff --git a/hostfile.c b/hostfile.c index bf2a31c9b..63550a29d 100644 --- a/hostfile.c +++ b/hostfile.c | |||
@@ -36,7 +36,7 @@ | |||
36 | */ | 36 | */ |
37 | 37 | ||
38 | #include "includes.h" | 38 | #include "includes.h" |
39 | RCSID("$OpenBSD: hostfile.c,v 1.34 2005/03/10 22:01:05 deraadt Exp $"); | 39 | RCSID("$OpenBSD: hostfile.c,v 1.35 2005/07/27 10:39:03 dtucker Exp $"); |
40 | 40 | ||
41 | #include <resolv.h> | 41 | #include <resolv.h> |
42 | #include <openssl/hmac.h> | 42 | #include <openssl/hmac.h> |
@@ -315,7 +315,7 @@ add_host_to_hostfile(const char *filename, const char *host, const Key *key, | |||
315 | { | 315 | { |
316 | FILE *f; | 316 | FILE *f; |
317 | int success = 0; | 317 | int success = 0; |
318 | char *hashed_host; | 318 | char *hashed_host = NULL; |
319 | 319 | ||
320 | if (key == NULL) | 320 | if (key == NULL) |
321 | return 1; /* XXX ? */ | 321 | return 1; /* XXX ? */ |
@@ -71,7 +71,7 @@ | |||
71 | */ | 71 | */ |
72 | 72 | ||
73 | #include "includes.h" | 73 | #include "includes.h" |
74 | RCSID("$OpenBSD: scp.c,v 1.124 2005/06/17 02:44:33 djm Exp $"); | 74 | RCSID("$OpenBSD: scp.c,v 1.125 2005/07/27 10:39:03 dtucker Exp $"); |
75 | 75 | ||
76 | #include "xmalloc.h" | 76 | #include "xmalloc.h" |
77 | #include "atomicio.h" | 77 | #include "atomicio.h" |
@@ -506,7 +506,7 @@ source(int argc, char **argv) | |||
506 | BUF *bp; | 506 | BUF *bp; |
507 | off_t i, amt, statbytes; | 507 | off_t i, amt, statbytes; |
508 | size_t result; | 508 | size_t result; |
509 | int fd, haderr, indx; | 509 | int fd = -1, haderr, indx; |
510 | char *last, *name, buf[2048]; | 510 | char *last, *name, buf[2048]; |
511 | int len; | 511 | int len; |
512 | 512 | ||
diff --git a/sftp-client.c b/sftp-client.c index e4f95b0e5..afbd1e6f3 100644 --- a/sftp-client.c +++ b/sftp-client.c | |||
@@ -20,7 +20,7 @@ | |||
20 | /* XXX: copy between two remote sites */ | 20 | /* XXX: copy between two remote sites */ |
21 | 21 | ||
22 | #include "includes.h" | 22 | #include "includes.h" |
23 | RCSID("$OpenBSD: sftp-client.c,v 1.56 2005/07/17 07:17:55 djm Exp $"); | 23 | RCSID("$OpenBSD: sftp-client.c,v 1.57 2005/07/27 10:39:03 dtucker Exp $"); |
24 | 24 | ||
25 | #include "openbsd-compat/sys-queue.h" | 25 | #include "openbsd-compat/sys-queue.h" |
26 | 26 | ||
@@ -742,7 +742,7 @@ do_download(struct sftp_conn *conn, char *remote_path, char *local_path, | |||
742 | Attrib junk, *a; | 742 | Attrib junk, *a; |
743 | Buffer msg; | 743 | Buffer msg; |
744 | char *handle; | 744 | char *handle; |
745 | int local_fd, status, write_error; | 745 | int local_fd, status = 0, write_error; |
746 | int read_error, write_errno; | 746 | int read_error, write_errno; |
747 | u_int64_t offset, size; | 747 | u_int64_t offset, size; |
748 | u_int handle_len, mode, type, id, buflen, num_req, max_req; | 748 | u_int handle_len, mode, type, id, buflen, num_req, max_req; |