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

@@ -485,7 +485,7 @@ getClientWorkspaces(ClientData *pCD)
/* Easy but slow way to do this would be to use XGetAtomName(). */
/* To avoid XServer round trips (and to weed out invalid WS names) */
/* we look through workspaces attached to this screen for ID matches. */
char *cwsP, *tmpP, *wsNameP;
char *cwsP = NULL, *tmpP, *wsNameP;
int pLen = 0;
int i;