diff options
author | Eduardo Chappa <chappa@washington.edu> | 2021-05-21 20:58:51 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2021-05-21 20:58:51 -0600 |
commit | d31cd71e5a3d73e20cfff89968c7b932d451f75c (patch) | |
tree | 264309197f0d847683df0ef960f87d5734c5f225 /pico/attach.c | |
parent | 2e57dfe03e4df802d530ae217415d50419ab4e20 (diff) | |
download | alpine-d31cd71e5a3d73e20cfff89968c7b932d451f75c.tar.xz |
* Clear out some gcc warnings, and code improvement. Work in progress.
Diffstat (limited to 'pico/attach.c')
-rw-r--r-- | pico/attach.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |