From d31cd71e5a3d73e20cfff89968c7b932d451f75c Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Fri, 21 May 2021 20:58:51 -0600 Subject: * Clear out some gcc warnings, and code improvement. Work in progress. --- pico/attach.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pico/attach.c') diff --git a/pico/attach.c b/pico/attach.c index 35cee679..b05edb0c 100644 --- a/pico/attach.c +++ b/pico/attach.c @@ -435,7 +435,7 @@ SyncAttach(void) comment[1024]; struct hdr_line *lp; /* current line in header */ struct headerentry *entry; - PATMT *tp, **knwn = NULL, **bld; + PATMT *tp, **knwn = NULL, **bld = NULL; EML eml; if(Pmaster == NULL) @@ -650,7 +650,7 @@ ParseAttach(struct hdr_line **lp, /* current header line */ size_t cmntlen, int *no) /* attachment number */ { - int j, status, bod, eod = -1, + int j = 0, status, bod, eod = -1, rv = 0, /* return value */ orig_offset, lbln = 0, /* label'd attachment */ -- cgit v1.2.3-54-g00ecf