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

@@ -688,7 +688,7 @@ Boolean HandleResizeKeyPress (ClientData *pcd, XEvent *pev)
{
KeySym keysym;
Boolean control;
int warpX, warpY, currentX, currentY, newX, newY;
int warpX, warpY, currentX = 0, currentY = 0, newX, newY;
int junk, keyMult;
Window junk_win;
XEvent KeyEvent;