From: Peter Howkins Date: Fri, 13 Jul 2018 18:05:33 +0000 (+0100) Subject: dtcm: Coverity 176055 X-Git-Tag: 2.3.0a~70 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f6886761da0931b1af70e749f204df2ff0fdaf45;p=oweals%2Fcde.git dtcm: Coverity 176055 --- diff --git a/cde/programs/dtcm/server/lookup.c b/cde/programs/dtcm/server/lookup.c index e27549e8..cb98523d 100644 --- a/cde/programs/dtcm/server/lookup.c +++ b/cde/programs/dtcm/server/lookup.c @@ -345,7 +345,7 @@ _DtCmsGetEntryAttrByKey( char sbuf[TIME_BUF_LEN], ebuf[TIME_BUF_LEN]; time_t firsttick = 0; List_node *lnode; - cms_get_entry_attr_res_item *res; + cms_get_entry_attr_res_item *res = NULL; if (entry_r == NULL && res_r == NULL) return (CSA_E_INVALID_PARAMETER);