* Remove trivial strlen usage

* Get rid of unused StackWalker
This commit is contained in:
libretroadmin 2022-07-22 20:34:42 +02:00
commit aa9a682ee8
4 changed files with 7 additions and 1753 deletions

View file

@ -1734,7 +1734,7 @@ void UpdateRunningGame(const char* path, CDImage* image)
s_running_game_code.clear();
s_running_game_title.clear();
if (path && std::strlen(path) > 0)
if (path && path[0] != '\0')
{
s_running_game_path = path;
g_host_interface->GetGameInfo(path, image, &s_running_game_code, &s_running_game_title);