all repos — fluxbox @ a83cedf37e27b6f81087ab9f98c628b1e961d016

custom fork of the fluxbox windowmanager

Fix a pair of warnings reported by clang
Pavel Labath pavelo@centrum.sk
commit

a83cedf37e27b6f81087ab9f98c628b1e961d016

parent

91958279d3571f045989f52ad447a0c86701f3a8

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/FbTk/Image.ccsrc/FbTk/Image.cc

@@ -67,14 +67,14 @@ PixmapWithMask *Image::load(const string &filename, int screen_num) {

if (filename.empty()) - return false; + return NULL; // determine file ending string extension(StringUtil::toUpper(StringUtil::findExtension(filename))); // valid handle? if (s_image_map.find(extension) == s_image_map.end()) - return false; + return NULL; string path = locateFile(filename); if (!path.empty())