aboutsummaryrefslogtreecommitdiffstats
path: root/regexec.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-01-01 19:06:56 +0200
committerArnold D. Robbins <arnold@skeeve.com>2013-01-01 19:06:56 +0200
commitae526a956180e702ff09f3ff011ee5f01678189d (patch)
tree1fd6619a90a4a9c3ff0b24ac6c6970cdafddf4b5 /regexec.c
parente3d03ee3dec31fd28d668ae14bed936af199d9b0 (diff)
parent58a02d2e425f88c1f9b697f11d4630f3416617dd (diff)
downloadegawk-ae526a956180e702ff09f3ff011ee5f01678189d.tar.gz
egawk-ae526a956180e702ff09f3ff011ee5f01678189d.tar.bz2
egawk-ae526a956180e702ff09f3ff011ee5f01678189d.zip
Merge branch 'gawk-4.0-stable'
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/regexec.c b/regexec.c
index ff90fe31..e6425ad2 100644
--- a/regexec.c
+++ b/regexec.c
@@ -3932,7 +3932,6 @@ check_node_accept_bytes (const re_dfa_t *dfa, int node_idx,
if (cset->nequiv_classes)
{
const unsigned char *cp = pin;
- int32_t idx;
table = (const int32_t *)
_NL_CURRENT (LC_COLLATE, _NL_COLLATE_TABLEMB);
weights = (const unsigned char *)
@@ -3941,7 +3940,7 @@ check_node_accept_bytes (const re_dfa_t *dfa, int node_idx,
_NL_CURRENT (LC_COLLATE, _NL_COLLATE_EXTRAMB);
indirect = (const int32_t *)
_NL_CURRENT (LC_COLLATE, _NL_COLLATE_INDIRECTMB);
- idx = findidx (&cp, elem_len);
+ int32_t idx = findidx (&cp, elem_len);
if (idx > 0)
for (i = 0; i < cset->nequiv_classes; ++i)
{