summaryrefslogtreecommitdiff
path: root/pith/mailindx.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-05-21 20:58:51 -0600
committerEduardo Chappa <chappa@washington.edu>2021-05-21 20:58:51 -0600
commitd31cd71e5a3d73e20cfff89968c7b932d451f75c (patch)
tree264309197f0d847683df0ef960f87d5734c5f225 /pith/mailindx.c
parent2e57dfe03e4df802d530ae217415d50419ab4e20 (diff)
downloadalpine-d31cd71e5a3d73e20cfff89968c7b932d451f75c.tar.xz
* Clear out some gcc warnings, and code improvement. Work in progress.
Diffstat (limited to 'pith/mailindx.c')
-rw-r--r--pith/mailindx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pith/mailindx.c b/pith/mailindx.c
index 87cab265..918b3ddb 100644
--- a/pith/mailindx.c
+++ b/pith/mailindx.c
@@ -2009,7 +2009,7 @@ format_index_index_line(INDEXDATA_S *idata)
int i, collapsed = 0, start, fromfield;
long l, score;
BODY *body = NULL;
- MESSAGECACHE *mc;
+ MESSAGECACHE *mc = NULL;
ADDRESS *addr, *toaddr, *ccaddr, *last_to;
PINETHRD_S *thrd = NULL;
INDEX_COL_S *cdesc = NULL;
@@ -3741,7 +3741,7 @@ fetch_firsttext(INDEXDATA_S *idata, int delete_quotes)
long partial_fetch_len = 0L;
SEARCHSET *ss, **sset;
MESSAGECACHE *mc;
- PINELT_S *pelt;
+ PINELT_S *pelt = NULL;
/* we cache the result we get from this function, so that we do not have to
* refetch the text in case there is a change. We could cache in the envelope