aboutsummaryrefslogtreecommitdiffstats
path: root/regexec.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-01-01 19:02:40 +0200
committerArnold D. Robbins <arnold@skeeve.com>2013-01-01 19:02:40 +0200
commit176594bbcd1255f0e6bbde616aeaaa7ddfeca3cc (patch)
treeda57ca4d9617ad61c7f820d73ff65cfbaa7c8576 /regexec.c
parente427f97daa5f252709f5380701f306e031585dde (diff)
downloadegawk-176594bbcd1255f0e6bbde616aeaaa7ddfeca3cc.tar.gz
egawk-176594bbcd1255f0e6bbde616aeaaa7ddfeca3cc.tar.bz2
egawk-176594bbcd1255f0e6bbde616aeaaa7ddfeca3cc.zip
Bring gawk regex closer to GLIBC.
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 ea4a02f7..7d594d2f 100644
--- a/regexec.c
+++ b/regexec.c
@@ -3934,7 +3934,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 *)
@@ -3943,7 +3942,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)
{