Commit 33d4babb authored by Mathieu Malaterre's avatar Mathieu Malaterre
Browse files

COMP: Fix for picky C compiler

parent 178f78f2
......@@ -452,7 +452,7 @@ void outputFunction(FILE *fp, FileInfo *data)
output_temp(fp, MAX_ARGS,currentFunction->ReturnType,
currentFunction->ReturnClass, 0);
handle_return_prototype(fp);
// only use the error variable if we have arguments to parse
/* only use the error variable if we have arguments to parse */
if (currentFunction->NumberOfArguments)
{
fprintf(fp," error = 0;\n\n");
......@@ -504,7 +504,7 @@ void outputFunction(FILE *fp, FileInfo *data)
return_result(fp);
fprintf(fp," return TCL_OK;\n");
// close the if error
/* close the if error */
if (currentFunction->NumberOfArguments)
{
fprintf(fp," }\n");
......
Supports Markdown
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