aboutsummaryrefslogtreecommitdiff
path: root/src/FbRootWindow.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2015-01-03 17:43:44 (GMT)
committerMathias Gumz <akira@fluxbox.org>2015-01-03 17:43:44 (GMT)
commitbd519dd95200aa432fb3b431a4244ffb25c5de93 (patch)
tree3786141d1d990286446639850d46f9cb180408ee /src/FbRootWindow.cc
parent11974fa40a69a2fb25598330afddbac4901592fc (diff)
downloadfluxbox-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/FbRootWindow.cc')
-rw-r--r--src/FbRootWindow.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbRootWindow.cc b/src/FbRootWindow.cc
index e329719..0cd730e 100644
--- a/src/FbRootWindow.cc
+++ b/src/FbRootWindow.cc
@@ -55,7 +55,7 @@ FbRootWindow::FbRootWindow(int screen_num):
55 55
56 for (int i = 0; i < vinfo_nitems; i++) { 56 for (int i = 0; i < vinfo_nitems; i++) {
57 if ((DefaultDepth(disp, screen_num) < vinfo_return[i].depth) 57 if ((DefaultDepth(disp, screen_num) < vinfo_return[i].depth)
58 && (depth() < vinfo_return[i].depth)){ 58 && (static_cast<int>(depth()) < vinfo_return[i].depth)){
59 m_visual = vinfo_return[i].visual; 59 m_visual = vinfo_return[i].visual;
60 setDepth(vinfo_return[i].depth); 60 setDepth(vinfo_return[i].depth);
61 } 61 }