зеркало из https://github.com/nextcloud/desktop.git
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:
Родитель
0db095e02a
Коммит
34e75f80bc
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче