projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0db095e
)
main.cpp: Fix a compiler warning
author
Olivier Goffart
<ogoffart@woboq.com>
Tue, 4 Jul 2017 08:55:41 +0000
(10:55 +0200)
committer
Markus Goetz
<markus@woboq.com>
Tue, 4 Jul 2017 09:43:07 +0000
(11:43 +0200)
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
patch
|
blob
|
history
diff --git
a/src/gui/main.cpp
b/src/gui/main.cpp
index 8f77b50bc23aa599c3dd77526b948b3509d3075d..4c5970a57968b44f8a82de0509e57661de05d3b2 100644
(file)
--- 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.