Commit 63622e3a 63622e3ad9e04d435f01061a609ea265150db6a7 by Sergey Poznyakoff

Initialize automatic variable.

1 parent d531c1a9
......@@ -966,7 +966,7 @@ util_localname ()
{
char *name;
int name_len = 256;
int status;
int status = 1;
struct hostent *hp;
name = malloc (name_len);
......
......@@ -242,7 +242,7 @@ sieve_test_envelope (sieve_machine_t mach, list_t args, list_t tags)
int
sieve_test_size (sieve_machine_t mach, list_t args, list_t tags)
{
int rc;
int rc = 1;
sieve_runtime_tag_t *tag = NULL;
size_t size;
......
......@@ -83,7 +83,7 @@ util_do_command (const char *c, ...)
int argc = 0;
char **argv = NULL;
int status = 0;
function_t *command;
function_t *command = NULL;
int exec = 1;
char *cmd = NULL;
va_list ap;
......
......@@ -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)
......
......@@ -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)
......