Commit 9791802c authored by David Gobbi's avatar David Gobbi

Before c99, variable decls go before other statements.

Change-Id: Id26fa70a3c162b63476e4d3000b780c706e388e6
parent 6a56978e
...@@ -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)
{ {
......
...@@ -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)
{ {
......
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