Refactor switch cases to use break statements instead of commented code
This commit is contained in:
parent
4af4c25246
commit
1e6718bb0e
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user