projects
/
xmake.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cf2f6e
)
Use data
author
Robert Pengelly
<robertapengelly@hotmail.com>
Sat, 18 Oct 2025 03:27:14 +0000
(
04:27
+0100)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Sat, 18 Oct 2025 03:27:14 +0000
(
04:27
+0100)
variable.c
patch
|
blob
|
history
diff --git
a/variable.c
b/variable.c
index 2e4312c09bac29724de1667f2c7c3c127f3c21a3..f88f99ef6df24402772aa3e44a009cb70a99ce41 100644
(file)
--- a/
variable.c
+++ b/
variable.c
@@
-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);
}