From f6886761da0931b1af70e749f204df2ff0fdaf45 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Fri, 13 Jul 2018 19:05:33 +0100 Subject: [PATCH] dtcm: Coverity 176055 --- cde/programs/dtcm/server/lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1