From 59db0534fffba8c70a3b1d7ab8627456fcf058e2 Mon Sep 17 00:00:00 2001 From: Torsten Dreyer <torsten@t3r.de> Date: Mon, 5 May 2014 22:24:47 +0200 Subject: [PATCH] Fix a warning, no functional change --- src/Main/locale.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/locale.cxx b/src/Main/locale.cxx index 7572f42e9..e11c36c57 100644 --- a/src/Main/locale.cxx +++ b/src/Main/locale.cxx @@ -210,7 +210,7 @@ FGLocale::loadResource(SGPropertyNode* localeNode, const char* resource) if (!path_str) { SG_LOG(SG_GENERAL, SG_WARN, "No path in " << stringNode->getPath() << "/" << resource << "."); - return NULL; + return false; } path.append(path_str);