mirror of
https://github.com/libretro/RetroArch
synced 2025-02-08 06:40:14 +00:00
Merge pull request #11142 from schellingb/explore_fix_pointless_comparison
Explore: Fix pointless comparison of unsigned value to zero
This commit is contained in:
commit
77c2aa0150
@ -1085,7 +1085,7 @@ unsigned menu_displaylist_explore(file_list_t *list)
|
||||
tmplen = strlcpy(tmp,
|
||||
msg_hash_to_str(explore_by_info[cat].by_enum), sizeof(tmp));
|
||||
|
||||
if (is_top && tmplen >= 0 && tmplen < sizeof(tmp) - 5)
|
||||
if (is_top && tmplen < sizeof(tmp) - 5)
|
||||
{
|
||||
if (explore_by_info[cat].is_numeric)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user