summaryrefslogtreecommitdiff
path: root/gcc/tradcpp.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-06 18:58:28 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-06 18:58:28 +0000
commitc3c067a6a85cce9b9a30b40721c5b70b15651a3d (patch)
treeb5d548ce2debb01dfd8afd76c84d3b1dc7a5a79a /gcc/tradcpp.c
parent588d632b8d8aa5271a87c717a93df086fc83f6ca (diff)
downloadgcc-c3c067a6a85cce9b9a30b40721c5b70b15651a3d.tar.gz
* tradcpp.c (special_symbol): Assign an null string rather
than writing to an unallocated buffer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37278 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tradcpp.c')
-rw-r--r--gcc/tradcpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tradcpp.c b/gcc/tradcpp.c
index 125e2cbe602..ef51248aae4 100644
--- a/gcc/tradcpp.c
+++ b/gcc/tradcpp.c
@@ -2075,7 +2075,7 @@ special_symbol (hp, op)
sprintf (buf, "\"%s\"", string);
}
else
- strcpy (buf, "\"\"");
+ buf = (char *) "";
break;
}