From a83cedf37e27b6f81087ab9f98c628b1e961d016 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Sat, 9 Apr 2011 14:57:47 +0200 Subject: Fix a pair of warnings reported by clang --- src/FbTk/Image.cc | 4 ++-- 1 file 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) { 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()) -- cgit v0.11.2