diff options
author | Tayou <tayou@gmx.net> | 2022-11-07 14:33:37 +0100 |
---|---|---|
committer | Tayou <tayou@gmx.net> | 2022-11-07 14:33:37 +0100 |
commit | 9ac6114b6379ba001785e76b5f9c10ddc2194d4a (patch) | |
tree | 38258bf258503d18cc4a043c74198ecf9cbe632e /launcher | |
parent | d558ff305ad8cb2a75dc2a4b8ce754ed3bb40904 (diff) | |
download | PrismLauncher-9ac6114b6379ba001785e76b5f9c10ddc2194d4a.tar.gz PrismLauncher-9ac6114b6379ba001785e76b5f9c10ddc2194d4a.tar.bz2 PrismLauncher-9ac6114b6379ba001785e76b5f9c10ddc2194d4a.zip |
Fix warning in main function
main could according to the compiler end up not returning. of course it will always return, but I satisfied the compiler by adding a default case.
Signed-off-by: Tayou <tayou@gmx.net>
Diffstat (limited to 'launcher')
-rw-r--r-- | launcher/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/main.cpp b/launcher/main.cpp index e2116f38..df596449 100644 --- a/launcher/main.cpp +++ b/launcher/main.cpp @@ -91,5 +91,7 @@ int main(int argc, char *argv[]) return 1; case Application::Succeeded: return 0; + default: + return -1; } } |