From ac4859972aa9f08878590883ea2ed2071141284d Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sun, 28 Apr 2013 13:59:08 +0200 Subject: [PATCH] isl_input.c: read_factor: declare variables at start of code block Reported-by: William Bader Signed-off-by: Sven Verdoolaege --- isl_input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/isl_input.c b/isl_input.c index e93233d9..74006291 100644 --- a/isl_input.c +++ b/isl_input.c @@ -1690,8 +1690,9 @@ static __isl_give isl_pw_qpolynomial *read_factor(struct isl_stream *s, pwqp = isl_pw_qpolynomial_pow(pwqp, pow); } else if (tok->type == ISL_TOKEN_VALUE) { struct isl_token *tok2; - tok2 = isl_stream_next_token(s); isl_qpolynomial *qp; + + tok2 = isl_stream_next_token(s); if (tok2 && tok2->type == '/') { isl_token_free(tok2); tok2 = next_token(s); -- 2.11.4.GIT