Silence warning - ret was never used

This commit is contained in:
twinaphex 2021-05-22 16:05:26 +02:00
parent 89e4cac3f1
commit 9cd19d4944
1 changed files with 1 additions and 2 deletions

View File

@ -755,10 +755,9 @@ static int action_get_title_generic(char *s, size_t len,
{ {
if (!string_is_empty(path)) if (!string_is_empty(path))
{ {
bool ret = false;
struct string_list list_path = {0}; struct string_list list_path = {0};
string_list_initialize(&list_path); string_list_initialize(&list_path);
if ((ret = string_split_noalloc(&list_path, path, "|"))) if (string_split_noalloc(&list_path, path, "|"))
{ {
char elem0_path[255]; char elem0_path[255];
elem0_path[0] = '\0'; elem0_path[0] = '\0';