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

@@ -566,9 +566,9 @@ void GenerateFrameDisplayLists (ClientData *pcd)
int insideBevel, inset, diffBevel;
unsigned int nTitleBevel, sTitleBevel, eTitleBevel, wTitleBevel;
unsigned int meTitleBevel, inWidth;
int x, y, xAdj, yAdj;
int x, y, xAdj = 0, yAdj = 0;
unsigned int width, height;
RList *prlTop, *prlBot;
RList *prlTop = NULL, *prlBot = NULL;
int jX, jY;
unsigned int jW, jH;