changeset 608:85fa9c6241ec

Misc: add missing return
author David Demelier <markand@malikania.fr>
date Thu, 29 Jun 2017 10:27:43 +0200
parents f8616f9fc9d5
children 40f6b66ec70a
files misc/executable.cpp
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/misc/executable.cpp	Thu Jun 29 09:20:24 2017 +0200
+++ b/misc/executable.cpp	Thu Jun 29 10:27:43 2017 +0200
@@ -100,8 +100,7 @@
 
     std::free(paths);
     std::free(path);
-#else
-    // Not supported.
-    return "";
 #endif
+
+    return result;
 }