Fix pointless comparison of unsigned value to zero

This commit is contained in:
Bernhard Schelling 2020-08-04 04:07:23 +09:00 committed by GitHub
parent 849f88b8ff
commit 25c6664746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
{