]> granicus.if.org Git - mutt/commitdiff
Fix some compiler warnings
authorFabian Groffen <grobian@gentoo.org>
Sat, 7 Apr 2007 21:32:52 +0000 (14:32 -0700)
committerFabian Groffen <grobian@gentoo.org>
Sat, 7 Apr 2007 21:32:52 +0000 (14:32 -0700)
copy.c

diff --git a/copy.c b/copy.c
index 53c0467f9d701fa9a7d65cbb426048801e28eb49..60ff2996dc0d6a14d58c576e6964bef2a0b1cc4a 100644 (file)
--- 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);