From 3ef04d44742d88480a83e451bd6e8f5c72e683de Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 6 Apr 2015 23:15:42 +0200 Subject: [PATCH] Use NULL, not false, for a pointer. No real changes, just fix clang warning about returning "false" from a function returning a pointer. --- utils/ifacecheck/src/xmlparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/ifacecheck/src/xmlparser.cpp b/utils/ifacecheck/src/xmlparser.cpp index 72147777b2..26b1493b05 100644 --- a/utils/ifacecheck/src/xmlparser.cpp +++ b/utils/ifacecheck/src/xmlparser.cpp @@ -570,7 +570,7 @@ const wxMethod* wxClass::RecursiveUpwardFindMethod(const wxMethod& m, if (!parent) { wxLogError("Could not find parent '%s' of class '%s'...", m_parents[i], GetName()); - return false; + return NULL; } const wxMethod *parentMethod = parent->RecursiveUpwardFindMethod(m, allclasses);