From 66c9ca9520eeba89630806d06cd0e6b85e0594e8 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Tue, 19 Sep 2006 18:22:11 +0000 Subject: [PATCH] Remove an unused temporary buffer git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9298 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/CParse/parser.y | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/SWIG/Source/CParse/parser.y b/SWIG/Source/CParse/parser.y index c82f55861..8399861c8 100644 --- a/SWIG/Source/CParse/parser.y +++ b/SWIG/Source/CParse/parser.y @@ -988,14 +988,12 @@ static Node *dump_nested(const char *parent) { return 0; } while (n) { - char temp[256]; Node *retx; SwigType *nt; /* Token replace the name of the parent class */ Replace(n->code, "$classname", parent, DOH_REPLACE_ANY); - /* Fix up the name of the datatype (for building typedefs and other stuff) */ - sprintf(temp,"%s_%s", parent,n->name); + /* Fix up the name of the datatype (for building typedefs and other stuff) */ Append(n->type,parent); Append(n->type,"_"); Append(n->type,n->name);