Commit aadaa039 authored by Sean McBride's avatar Sean McBride

Restore C89 support after fixing cppcheck warning

Variables must be declared early in C89.
parent 6d9a6b32
Pipeline #8690 passed with stage
......@@ -1045,6 +1045,7 @@ int checkFunctionSignature(ClassInfo *data)
void outputFunction(FILE *fp, ClassInfo *data)
{
int i;
int args_ok;
unsigned int rType =
(currentFunction->ReturnType & VTK_PARSE_UNQUALIFIED_TYPE);
const char *jniFunction = 0;
......@@ -1053,7 +1054,7 @@ void outputFunction(FILE *fp, ClassInfo *data)
size_t j;
CurrentData = data;
int args_ok = checkFunctionSignature(data);
args_ok = checkFunctionSignature(data);
/* handle DataReader SetBinaryInputString as a special case */
if (!strcmp("SetBinaryInputString",currentFunction->Name) &&
......
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