diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-12-10 15:02:21 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-12-10 15:02:21 +0000 |
commit | 63622e3ad9e04d435f01061a609ea265150db6a7 (patch) | |
tree | a4fc6dd0acf5cecbd285d3008afcd4970d827c52 /mailbox | |
parent | d531c1a9e844c1c6f2c13774b3f6ed62178cb557 (diff) | |
download | mailutils-63622e3ad9e04d435f01061a609ea265150db6a7.tar.gz mailutils-63622e3ad9e04d435f01061a609ea265150db6a7.tar.bz2 |
Initialize automatic variable.
Diffstat (limited to 'mailbox')
-rw-r--r-- | mailbox/address.c | 4 | ||||
-rw-r--r-- | mailbox/file_stream.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mailbox/address.c b/mailbox/address.c index 58fcab591..a6b88174a 100644 --- a/mailbox/address.c +++ b/mailbox/address.c @@ -330,7 +330,7 @@ address_format_string (address_t addr, char *buf, size_t buflen) int address_aget_personal (address_t addr, size_t no, char **buf) { - int status; + int status = 0; address_t subaddr; if (addr == NULL) @@ -354,7 +354,7 @@ address_aget_personal (address_t addr, size_t no, char **buf) int address_aget_comments (address_t addr, size_t no, char **buf) { - int status; + int status = 0; address_t subaddr; if (addr == NULL) diff --git a/mailbox/file_stream.c b/mailbox/file_stream.c index b432fd74e..a993a3044 100644 --- a/mailbox/file_stream.c +++ b/mailbox/file_stream.c @@ -186,7 +186,7 @@ _stdin_file_read (stream_t stream, char *optr, size_t osize, return stream_read (fs->cache, optr, osize, offset, pnbytes); else if (offset > fs_offset) { - int status; + int status = 0; size_t n, left = offset - fs_offset + 1; char *buf = malloc (left); if (!buf) |