Various small warning fixes

-Indentation warnings
-prevent shift overflow
-This was declared extern in all contexts. Remove this for initialization
-Fix main return types. OH CANADA!
-Silence extraneos 'unused expression' warning
-Force use return value (warning)
-Remove tautological compare copy-pasta (char always < 256)
This commit is contained in:
JohnHolmesII 2019-06-06 21:27:49 -07:00 committed by Nekotekina
parent 948c1df969
commit 232a35b6fc
6 changed files with 19 additions and 14 deletions

View file

@ -131,10 +131,8 @@ int main(int argc, char** argv)
parser.process(app);
// Don't start up the full rpcs3 gui if we just want the version or help.
if (parser.isSet(versionOption))
return true;
if (parser.isSet(helpOption))
return true;
if (parser.isSet(versionOption) || parser.isSet(helpOption))
return 0;
app.Init();