From 61e262be8983d97b1c59bf0b45a868ecd558a11c Mon Sep 17 00:00:00 2001 From: Adrian Frühwirth Date: Sat, 7 Apr 2018 11:25:47 +0200 Subject: SUPERNOVA: Fix missing return statement --- devtools/create_supernova/po_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/create_supernova/po_parser.cpp b/devtools/create_supernova/po_parser.cpp index f4a9b96388..05a8ac14a7 100644 --- a/devtools/create_supernova/po_parser.cpp +++ b/devtools/create_supernova/po_parser.cpp @@ -69,7 +69,7 @@ void PoMessageList::insert(const char *translation, const char *msg, const char const char *PoMessageList::findTranslation(const char *msg, const char *context) { if (msg == NULL || *msg == '\0') - NULL; + return NULL; // binary-search for the message int leftIndex = 0; -- cgit v1.2.3