projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa82533
)
Fix warning due to unmunge() returning a const string that needs to be freed.
author
Ben Pfaff
<blp@gnu.org>
Sat, 11 Oct 2008 23:51:44 +0000
(16:51 -0700)
committer
Ben Pfaff
<blp@gnu.org>
Sun, 12 Oct 2008 03:59:20 +0000
(20:59 -0700)
src/language/lexer/q2c.c
patch
|
blob
|
history
diff --git
a/src/language/lexer/q2c.c
b/src/language/lexer/q2c.c
index 3e23390f05a240a31cf06e2e508364fcd89afe28..ea4e348148b29febf66718075ca8aabfef77eb29 100644
(file)
--- a/
src/language/lexer/q2c.c
+++ b/
src/language/lexer/q2c.c
@@
-376,7
+376,7
@@
id_cpy (char **cp)
*dest++ = '\0';
}
-static c
onst c
har *
+static char *
unmunge (const char *s)
{
char *dest = xmalloc (strlen (s));