projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c5b4bf
)
common: Don't return a bool from main()
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Thu, 13 Apr 2017 20:01:30 +0000
(22:01 +0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Thu, 13 Apr 2017 20:01:30 +0000
(22:01 +0200)
gcc now warns about this (rightfully).
src/common/main.cpp
patch
|
blob
|
history
diff --git
a/src/common/main.cpp
b/src/common/main.cpp
index
5fe45ad
..
74b97e7
100644
(file)
--- a/
src/common/main.cpp
+++ b/
src/common/main.cpp
@@
-207,7
+207,7
@@
int main(int argc, char **argv)
// the non-KDE version parses after app has been instantiated
if (!cliParser->init(app.arguments())) {
cliParser->usage();
- return
false
;
+ return
EXIT_FAILURE
;
}
#endif