Skip to content

Commit

Permalink
SporeModManager: remove unrequired return 0 statements in main()
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Aug 4, 2024
1 parent bdc8d6b commit 300b2ce
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions SporeModManager/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,10 @@ int main(int argc, char** argv)
if (command == arg_str("help"))
{
show_usage();
return 0;
}
else if (command == arg_str("version"))
{
std::cout << "SporeModManager " << VERSION_STR << std::endl;
return 0;
}
else if (command == arg_str("list-installed"))
{
Expand All @@ -261,7 +259,6 @@ int main(int argc, char** argv)
}

SporeModManager::ListInstalledMods();
return 0;
}
else if (command == arg_str("install"))
{
Expand Down

0 comments on commit 300b2ce

Please sign in to comment.