mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
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:
parent
948c1df969
commit
232a35b6fc
6 changed files with 19 additions and 14 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue