aboutsummaryrefslogtreecommitdiff
path: root/jimregexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'jimregexp.c')
-rw-r--r--jimregexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jimregexp.c b/jimregexp.c
index dca55a2..b256e76 100644
--- a/jimregexp.c
+++ b/jimregexp.c
@@ -756,7 +756,7 @@ static int regatom(regex_t *preg, int *flagp)
int i;
for (i = 0; i < CC_NUM; i++) {
- int n = strlen(character_class[i]);
+ n = strlen(character_class[i]);
if (strncmp(pattern, character_class[i], n) == 0) {
/* Found a character class */
pattern += n + 1;