diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-04-09 12:57:47 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2011-04-11 06:37:58 (GMT) |
commit | a83cedf37e27b6f81087ab9f98c628b1e961d016 (patch) | |
tree | 62cc5ace8f7618f1617610b84958c87e125496ab /src/FbTk | |
parent | 91958279d3571f045989f52ad447a0c86701f3a8 (diff) | |
download | fluxbox_paul-a83cedf37e27b6f81087ab9f98c628b1e961d016.zip fluxbox_paul-a83cedf37e27b6f81087ab9f98c628b1e961d016.tar.bz2 |
Fix a pair of warnings reported by clang
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/Image.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Image.cc b/src/FbTk/Image.cc index 070672e..1cf94fa 100644 --- a/src/FbTk/Image.cc +++ b/src/FbTk/Image.cc | |||
@@ -67,14 +67,14 @@ PixmapWithMask *Image::load(const string &filename, int screen_num) { | |||
67 | 67 | ||
68 | 68 | ||
69 | if (filename.empty()) | 69 | if (filename.empty()) |
70 | return false; | 70 | return NULL; |
71 | 71 | ||
72 | // determine file ending | 72 | // determine file ending |
73 | string extension(StringUtil::toUpper(StringUtil::findExtension(filename))); | 73 | string extension(StringUtil::toUpper(StringUtil::findExtension(filename))); |
74 | 74 | ||
75 | // valid handle? | 75 | // valid handle? |
76 | if (s_image_map.find(extension) == s_image_map.end()) | 76 | if (s_image_map.find(extension) == s_image_map.end()) |
77 | return false; | 77 | return NULL; |
78 | 78 | ||
79 | string path = locateFile(filename); | 79 | string path = locateFile(filename); |
80 | if (!path.empty()) | 80 | if (!path.empty()) |