1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtcm: Coverity 176055

This commit is contained in:
Peter Howkins 2018-07-13 19:05:33 +01:00
parent 9e038c8b2b
commit f6886761da

View file

@ -345,7 +345,7 @@ _DtCmsGetEntryAttrByKey(
char sbuf[TIME_BUF_LEN], ebuf[TIME_BUF_LEN]; char sbuf[TIME_BUF_LEN], ebuf[TIME_BUF_LEN];
time_t firsttick = 0; time_t firsttick = 0;
List_node *lnode; 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) if (entry_r == NULL && res_r == NULL)
return (CSA_E_INVALID_PARAMETER); return (CSA_E_INVALID_PARAMETER);