Use data
authorRobert Pengelly <robertapengelly@hotmail.com>
Sat, 18 Oct 2025 03:27:14 +0000 (04:27 +0100)
committerRobert Pengelly <robertapengelly@hotmail.com>
Sat, 18 Oct 2025 03:27:14 +0000 (04:27 +0100)
variable.c

index 2e4312c09bac29724de1667f2c7c3c127f3c21a3..f88f99ef6df24402772aa3e44a009cb70a99ce41 100644 (file)
@@ -127,13 +127,7 @@ static char *func_filter_out (const char *filename, unsigned long line_no, char
     }
     
     cstr_ccat (&str, '\0');
-    
-    if (*(goals = xstrdup (str.data))) {
-        return goals;
-    }
-    
-    free (goals);
-    return xstrdup ("");
+    return xstrdup (str.data);
 
 }