summaryrefslogtreecommitdiff
path: root/src/staticswitcher.cpp
diff options
context:
space:
mode:
authorSam Spilsbury <SmSpillaz@gmail.com>2010-05-12 23:53:53 +0800
committerSam Spilsbury <SmSpillaz@gmail.com>2010-05-12 23:53:53 +0800
commit0b019c14bfaaae0e51c471afe3b1bd7c6d614248 (patch)
treeb7a325ede0a9c3db0af653ddc66deb2da29f2e2a /src/staticswitcher.cpp
parentecf66af7bd37f0d11db05bdf8c22e6904ddb6f92 (diff)
downloadstaticswitcher-0b019c14bfaaae0e51c471afe3b1bd7c6d614248.tar.gz
staticswitcher-0b019c14bfaaae0e51c471afe3b1bd7c6d614248.tar.bz2
Fix uninitialized value usage
Diffstat (limited to 'src/staticswitcher.cpp')
-rw-r--r--src/staticswitcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/staticswitcher.cpp b/src/staticswitcher.cpp
index d03d78a..3580c75 100644
--- a/src/staticswitcher.cpp
+++ b/src/staticswitcher.cpp
@@ -94,7 +94,7 @@ StaticSwitchScreen::updatePopupWindow ()
CompWindow *popup = screen->findWindow (popupWindow);
XWindowChanges xwc;
- unsigned int valueMask;
+ unsigned int valueMask = 0;
valueMask |= (CWX | CWY | CWWidth | CWHeight);