From: Fabian Groffen <grobian@gentoo.org> Date: Sat, 7 Apr 2007 21:32:52 +0000 (-0700) Subject: Fix some compiler warnings X-Git-Tag: mutt-1-5-16-rel~56^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cefaf6d45d54565e19891d68101db0eb0bcfef5b;p=mutt Fix some compiler warnings --- diff --git a/copy.c b/copy.c index 53c0467f..60ff2996 100644 --- a/copy.c +++ b/copy.c @@ -56,7 +56,7 @@ mutt_copy_hdr (FILE *in, FILE *out, LOFF_T off_start, LOFF_T off_end, int flags, int hdr_count; int x; char *this_one = NULL; - size_t this_one_len; + size_t this_one_len = 0; int error; if (ftello (in) != off_start) @@ -851,7 +851,7 @@ static void format_address_header (char **h, ADDRESS *a) char buf[HUGE_STRING]; char cbuf[STRING]; char c2buf[STRING]; - char *p; + char *p = NULL; int l, linelen, buflen, count, cbuflen, c2buflen, plen; linelen = mutt_strlen (*h);