From 25c6664746d420c815a14ceec2af79c44b065958 Mon Sep 17 00:00:00 2001 From: Bernhard Schelling <14200249+schellingb@users.noreply.github.com> Date: Tue, 4 Aug 2020 04:07:23 +0900 Subject: [PATCH] Fix pointless comparison of unsigned value to zero --- menu/menu_explore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/menu_explore.c b/menu/menu_explore.c index a1759cc71b..37a4973c41 100644 --- a/menu/menu_explore.c +++ b/menu/menu_explore.c @@ -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) {