Commit d0b86eb2 authored by Ben Boeckel's avatar Ben Boeckel

vtkWrapTcl: hide dString when there are no methods

It is only used if methods exist.

Change-Id: Id9bd3568096cbfa177bafb4f080301f1df62575a
parent ab4dc579
......@@ -1366,7 +1366,10 @@ int main(int argc, char *argv[])
/* Now handle if we are asked for a specific function */
fprintf(fp," if(argc==3) {\n" );
fprintf(fp," Tcl_DString dString;\n");
if (numberOfWrappedFunctions > 0)
{
fprintf(fp," Tcl_DString dString;\n");
}
if (data->NumberOfSuperClasses > 0)
{
fprintf(fp," int SuperClassStatus;\n" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment