From ea33bfc554b774b3242edda58cca84c9c7770bfa Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Mon, 6 Nov 2000 18:58:28 +0000 Subject: tradcpp.c (special_symbol): Assign an null string rather than writing to an unallocated buffer. * tradcpp.c (special_symbol): Assign an null string rather than writing to an unallocated buffer. From-SVN: r37278 --- gcc/tradcpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tradcpp.c') diff --git a/gcc/tradcpp.c b/gcc/tradcpp.c index 125e2cb..ef51248 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; } -- cgit v1.1