summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Moreau <oreaus@gmail.com>2010-09-30 21:22:04 +0000
committerScott Moreau <oreaus@gmail.com>2010-10-07 05:57:32 -0600
commit42c96c2f819a62f547c5a7572c7f476d74046a76 (patch)
tree26ce440042c17c511825d59e2a511bd22e5f7bd8 /src
parentded08438415a7cb001889354d53c9bcd7482f4da (diff)
downloadunity-window-decorator-42c96c2f819a62f547c5a7572c7f476d74046a76.tar.gz
unity-window-decorator-42c96c2f819a62f547c5a7572c7f476d74046a76.tar.bz2
Remove unused variables to silence warnings.
Diffstat (limited to 'src')
-rw-r--r--src/window.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 461019a..f04282e 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -5497,17 +5497,13 @@ PrivateWindow::reparent ()
XWindowAttributes wa;
XWindowChanges xwc;
int mask;
- XEvent e;
CompWindow::Geometry sg = serverGeometry;
Display *dpy = screen->dpy ();
CompWindow *sibling = window->next ? window->next : window->prev;
bool above = window->next ? false : true;
- Window root_ret, parent_ret;
- Window *children_ret;
- unsigned int nchildren_ret;
+ Window root_ret;
unsigned int uidummy;
int idummy;
- int nvisuals_return;
Visual *visual = DefaultVisual (screen->dpy (),
screen->screenNum ());
Colormap cmap = DefaultColormap (screen->dpy (),