From 16a4df25d6128c98b96b355d58d7bb4070281af1 Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Mon, 9 Jul 2018 21:51:38 +0400 Subject: [PATCH] Make void function to do not return value --- components/crashcatcher/crashcatcher.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/crashcatcher/crashcatcher.hpp b/components/crashcatcher/crashcatcher.hpp index e2390df9cc..fd8f0d1542 100644 --- a/components/crashcatcher/crashcatcher.hpp +++ b/components/crashcatcher/crashcatcher.hpp @@ -12,7 +12,9 @@ #if USE_CRASH_CATCHER extern void crashCatcherInstall(int argc, char **argv, const std::string &crashLogPath); #else -inline void crashCatcherInstall(int, char **, const std::string &crashLogPath) { return 0; } +inline void crashCatcherInstall(int, char **, const std::string &crashLogPath) +{ +} #endif #endif