From 9cd19d4944276d9fb16b06e4554652f917b63812 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 22 May 2021 16:05:26 +0200 Subject: [PATCH] Silence warning - ret was never used --- menu/cbs/menu_cbs_title.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/menu/cbs/menu_cbs_title.c b/menu/cbs/menu_cbs_title.c index 4ae669ef9c..1dcf2203ed 100644 --- a/menu/cbs/menu_cbs_title.c +++ b/menu/cbs/menu_cbs_title.c @@ -755,10 +755,9 @@ static int action_get_title_generic(char *s, size_t len, { if (!string_is_empty(path)) { - bool ret = false; struct string_list list_path = {0}; string_list_initialize(&list_path); - if ((ret = string_split_noalloc(&list_path, path, "|"))) + if (string_split_noalloc(&list_path, path, "|")) { char elem0_path[255]; elem0_path[0] = '\0';