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

dtwm: Coverity 88714

This commit is contained in:
Peter Howkins 2018-07-02 20:37:21 +01:00
parent 20135bf9e7
commit dd9b5ca190

View file

@ -711,7 +711,7 @@ _DtPerfChkpntMsgSend("End Front panel database read");
/* Continue the elimination of unused records */ /* Continue the elimination of unused records */
name_list = (char **) XtMalloc (sizeof (char **) * 2); name_list = (char **) XtMalloc (sizeof (char *) * 2);
if (switch_count != 0) if (switch_count != 0)
name_list[0] = switch1->element_values[SWITCH_NAME].parsed_value; name_list[0] = switch1->element_values[SWITCH_NAME].parsed_value;
else else