Refactor switch cases to use break statements instead of commented code

This commit is contained in:
Rim 2023-12-06 22:25:54 -05:00
parent 4af4c25246
commit 1e6718bb0e
2 changed files with 3 additions and 5 deletions

View File

@ -203,14 +203,12 @@ namespace steam_proxy
{ {
case ownership_state::success: case ownership_state::success:
break; break;
/*
case ownership_state::nosteam: case ownership_state::nosteam:
throw std::runtime_error("Steam must be running to play this game!"); break;
case ownership_state::unowned: case ownership_state::unowned:
throw std::runtime_error("You must own the game on steam to play this mod!"); break;
case ownership_state::error: case ownership_state::error:
throw std::runtime_error("Failed to verify ownership of the game!"); break;
*/
} }
#endif #endif
} }

BIN
t7x.exe

Binary file not shown.