dtwm: Resolve coverity warnings related to uninitialised variables and missing return statements

This commit is contained in:
Peter Howkins
2018-05-01 20:45:55 +01:00
parent ad373101d6
commit fa29d3776e
13 changed files with 30 additions and 16 deletions

View File

@@ -610,6 +610,9 @@ PushRecallGetData (char * client_name)
for (i = 0; i < panel.push_recall_count; i++)
if (strcmp (client_name, push_recall_list[i].pchResName) == 0)
return (i);
/* Should never get here */
return 0;
}