Remove warnings
authorNelson Ferreira <nelson.ferreira@ieee.org>
Thu, 12 Jan 2012 13:25:00 +0000 (08:25 -0500)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Thu, 12 Jan 2012 13:25:00 +0000 (08:25 -0500)
commiteb70212d83e1dfaf69f7120ebf8a7d17919b5646
tree88aecafbf9ec074d43d27be569f04ff9773466e2
parent2fc04f658aeeb349e113ebe3ae783f2d2b1e1e80
Remove warnings

* src/regex.c (POP_FAILURE_POINT): Move DEBUG_STATEMENT to comply
with C variable declaration rules. Cast the POP_FAILURE_POINTER return
to proper const-ness.

* src/regex.c (re_match_2_internal): Make re_char *'s d and dend
const. Make scope p2 char* const. Make pdummy and sdummy const.
Remove old comment.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
src/regex.c