mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-25 22:05:53 +03:00
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.
This commit is contained in:
parent
0db095e02a
commit
34e75f80bc
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue