X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Feuidindex.c;h=752437777ce979bbe4a544fde879ecd0e5ae7163;hb=08726130fc930fa8e434306eff1e3b73bcbdeb87;hp=dd9b171dc6e6d27b684cd88021535d671a883cd2;hpb=b61d6a42b5f4a8561d73189e8c5726a2f5d34166;p=citadel.git diff --git a/citadel/euidindex.c b/citadel/euidindex.c index dd9b171dc..752437777 100644 --- a/citadel/euidindex.c +++ b/citadel/euidindex.c @@ -154,7 +154,7 @@ void index_message_by_euid(char *euid, struct ctdlroom *qrbuf, long msgnum) { * Called by rebuild_euid_index_for_room() to index one message. */ void rebuild_euid_index_for_msg(long msgnum, void *userdata) { - struct CtdlMessage *msg; + struct CtdlMessage *msg = NULL; msg = CtdlFetchMessage(msgnum, 0); if (msg == NULL) return;