X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserv_expire.c;h=542c1701f18b07e760d6423617805013db9241de;hb=08726130fc930fa8e434306eff1e3b73bcbdeb87;hp=56fb499fca52a04ed2a3fb31ab9390dad3cb3db6;hpb=b61d6a42b5f4a8561d73189e8c5726a2f5d34166;p=citadel.git diff --git a/citadel/serv_expire.c b/citadel/serv_expire.c index 56fb499fc..542c1701f 100644 --- a/citadel/serv_expire.c +++ b/citadel/serv_expire.c @@ -126,7 +126,7 @@ void GatherPurgeMessages(struct ctdlroom *qrbuf, void *data) { struct ExpirePolicy epbuf; long delnum; time_t xtime, now; - struct CtdlMessage *msg; + struct CtdlMessage *msg = NULL; int a; struct cdbdata *cdbfr; long *msglist = NULL; @@ -651,7 +651,7 @@ int PurgeEuidIndexTable(void) { struct EPurgeList *el = NULL; struct EPurgeList *eptr; long msgnum; - struct CtdlMessage *msg; + struct CtdlMessage *msg = NULL; /* Phase 1: traverse through the table, discovering old records... */ lprintf(CTDL_DEBUG, "Purge EUID index: phase 1\n");