Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VTK
VTK
Commits
aadaa039
Commit
aadaa039
authored
Mar 02, 2016
by
Sean McBride
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore C89 support after fixing cppcheck warning
Variables must be declared early in C89.
parent
6d9a6b32
Pipeline
#8690
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Wrapping/Tools/vtkWrapJava.c
Wrapping/Tools/vtkWrapJava.c
+2
-1
No files found.
Wrapping/Tools/vtkWrapJava.c
View file @
aadaa039
...
...
@@ -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
)
&&
...
...
David Gobbi
@dgobbi
mentioned in commit
5239aad8
·
Mar 02, 2016
mentioned in commit
5239aad8
mentioned in commit 5239aad8ca32ef1f660505e7f057bdf64c200e00
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment