diff options
author | Mathias Gumz <akira@fluxbox.org> | 2015-01-03 17:43:44 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2015-01-03 17:43:44 (GMT) |
commit | bd519dd95200aa432fb3b431a4244ffb25c5de93 (patch) | |
tree | 3786141d1d990286446639850d46f9cb180408ee /src/RowSmartPlacement.cc | |
parent | 11974fa40a69a2fb25598330afddbac4901592fc (diff) | |
download | fluxbox-bd519dd95200aa432fb3b431a4244ffb25c5de93.zip fluxbox-bd519dd95200aa432fb3b431a4244ffb25c5de93.tar.bz2 |
Remove various unused variables
Clang and Gcc-4.9 complaint about some unused variables here
and there. And who are we to not make a compiler happy :)
Diffstat (limited to 'src/RowSmartPlacement.cc')
-rw-r--r-- | src/RowSmartPlacement.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/RowSmartPlacement.cc b/src/RowSmartPlacement.cc index 79b42bb..eca867f 100644 --- a/src/RowSmartPlacement.cc +++ b/src/RowSmartPlacement.cc | |||
@@ -59,10 +59,12 @@ bool RowSmartPlacement::placeWindow(const FluxboxWindow &win, int head, | |||
59 | bool left_right = | 59 | bool left_right = |
60 | screen_placement.rowDirection() == ScreenPlacement::LEFTRIGHT; | 60 | screen_placement.rowDirection() == ScreenPlacement::LEFTRIGHT; |
61 | 61 | ||
62 | int change_x = 1, change_y = 1; | 62 | int change_x = 1; |
63 | 63 | ||
64 | if (screen_placement.colDirection() == ScreenPlacement::BOTTOMTOP) | 64 | // unused code: |
65 | change_y = -1; | 65 | // int change_y = 1; |
66 | // if (screen_placement.colDirection() == ScreenPlacement::BOTTOMTOP) | ||
67 | // change_y = -1; | ||
66 | 68 | ||
67 | if (screen_placement.rowDirection() == ScreenPlacement::RIGHTLEFT) | 69 | if (screen_placement.rowDirection() == ScreenPlacement::RIGHTLEFT) |
68 | change_x = -1; | 70 | change_x = -1; |