From 34e75f80bcb1032c80defc70e1812ce00b8e502a Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Tue, 4 Jul 2017 10:55:41 +0200 Subject: [PATCH] main.cpp: Fix a compiler warning src/gui/main.cpp:112:9: warning: bool literal returned from 'main' [-Wmain] Used 1 to keep previous behaviour. I supposed the code was meant to return success (0), but it does not really matter anyway. --- src/gui/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/main.cpp b/src/gui/main.cpp index 8f77b50bc..4c5970a57 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -109,7 +109,7 @@ int main(int argc, char **argv) // the updater is triggered Updater *updater = Updater::instance(); if (updater && updater->handleStartup()) { - return true; + return 1; } // if the application is already running, notify it.