From 2d45ef4c72a7789d4ec2a96a6f86253e708aa615 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Wed, 14 Aug 2019 23:42:57 +0200 Subject: [PATCH] Fix missing return statement in static bool method Looks like devtoolset compiler behaves differently on bool methods without an explicit return statement. Kind of strange. Undefined behavior? --- src/core/appdir_root_setup.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/appdir_root_setup.cpp b/src/core/appdir_root_setup.cpp index 39b2e46..bc22af8 100644 --- a/src/core/appdir_root_setup.cpp +++ b/src/core/appdir_root_setup.cpp @@ -77,6 +77,8 @@ namespace linuxdeploy { ldLog() << LD_ERROR << "Could not find suitable icon for Icon entry:" << iconEntry.value() << std::endl; return false; } + + return true; } bool deployCustomAppRunFile(const bf::path& customAppRunPath) const {