Commit 5239aad8 authored by David Gobbi's avatar David Gobbi Committed by Kitware Robot

Merge topic 'C89-fix'

aadaa039 Restore C89 support after fixing cppcheck warning
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: David Gobbi's avatarDavid Gobbi <david.gobbi@gmail.com>
Merge-request: !1299
parents 3f59a6ce aadaa039
Pipeline #8692 running 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