diff options
author | simonb <simonb> | 2006-04-16 11:18:22 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-04-16 11:18:22 (GMT) |
commit | 553104ee1d53104fa0790a9793a7047c61dd073f (patch) | |
tree | 5ccc4968b10f604c05aaa6d3bb13fc206fab8faa /src/IconbarTool.cc | |
parent | 02aa83a59eb3d9e209449b38808635f9e293a17a (diff) | |
download | fluxbox-553104ee1d53104fa0790a9793a7047c61dd073f.zip fluxbox-553104ee1d53104fa0790a9793a7047c61dd073f.tar.bz2 |
fix all compiler warnings with -Wall
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r-- | src/IconbarTool.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc index 1067e0b..f49a1fe 100644 --- a/src/IconbarTool.cc +++ b/src/IconbarTool.cc | |||
@@ -99,8 +99,11 @@ std::string FbTk::Resource<IconbarTool::DeiconifyMode>::getString() const { | |||
99 | case IconbarTool::CURRENT: | 99 | case IconbarTool::CURRENT: |
100 | return std::string("Current"); | 100 | return std::string("Current"); |
101 | break; | 101 | break; |
102 | case IconbarTool::FOLLOW: | ||
103 | default: | ||
104 | return std::string("Follow"); | ||
105 | break; | ||
102 | }; | 106 | }; |
103 | return std::string("Follow"); | ||
104 | } | 107 | } |
105 | 108 | ||
106 | template<> | 109 | template<> |
@@ -131,8 +134,10 @@ std::string FbTk::Resource<IconbarTool::WheelMode>::getString() const { | |||
131 | case IconbarTool::SCREEN: | 134 | case IconbarTool::SCREEN: |
132 | return std::string("Screen"); | 135 | return std::string("Screen"); |
133 | break; | 136 | break; |
137 | case IconbarTool::OFF: | ||
138 | default: | ||
139 | return std::string("Off"); | ||
134 | }; | 140 | }; |
135 | return std::string("Off"); | ||
136 | } | 141 | } |
137 | 142 | ||
138 | template<> | 143 | template<> |