Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VTK
VTK
Commits
9791802c
Commit
9791802c
authored
Nov 26, 2014
by
David Gobbi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Before c99, variable decls go before other statements.
Change-Id: Id26fa70a3c162b63476e4d3000b780c706e388e6
parent
6a56978e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Wrapping/Tools/lex.yy.c
Wrapping/Tools/lex.yy.c
+1
-1
Wrapping/Tools/vtkParse.l
Wrapping/Tools/vtkParse.l
+1
-1
No files found.
Wrapping/Tools/lex.yy.c
View file @
9791802c
...
@@ -4873,8 +4873,8 @@ int skip_conditional_block()
...
@@ -4873,8 +4873,8 @@ int skip_conditional_block()
{
{
if
(
i
>=
linemaxlen
-
5
)
if
(
i
>=
linemaxlen
-
5
)
{
{
linemaxlen
+=
i
+
5
;
char
*
oldlinebuf
=
linebuf
;
char
*
oldlinebuf
=
linebuf
;
linemaxlen
+=
i
+
5
;
linebuf
=
(
char
*
)
realloc
(
linebuf
,
linemaxlen
);
linebuf
=
(
char
*
)
realloc
(
linebuf
,
linemaxlen
);
if
(
!
linebuf
)
if
(
!
linebuf
)
{
{
...
...
Wrapping/Tools/vtkParse.l
View file @
9791802c
...
@@ -953,8 +953,8 @@ int skip_conditional_block()
...
@@ -953,8 +953,8 @@ int skip_conditional_block()
{
{
if (i >= linemaxlen-5)
if (i >= linemaxlen-5)
{
{
linemaxlen += i+5;
char *oldlinebuf = linebuf;
char *oldlinebuf = linebuf;
linemaxlen += i+5;
linebuf = (char *)realloc(linebuf, linemaxlen);
linebuf = (char *)realloc(linebuf, linemaxlen);
if (!linebuf)
if (!linebuf)
{
{
...
...
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