Merge branch 'js/maint-apply-tab-in-indent-fix' into HEAD
[gitweb.git] / compat / regex / regex_internal.c
index dad17a8131cf780e4d88029c6e81e87098a0ce2c..193854cf5b609d714b03218bd507af840d478c6e 100644 (file)
@@ -692,10 +692,10 @@ re_string_reconstruct (re_string_t *pstr, int idx, int eflags)
        }
       else
        {
+#ifdef RE_ENABLE_I18N
          /* No, skip all characters until IDX.  */
          int prev_valid_len = pstr->valid_len;
 
-#ifdef RE_ENABLE_I18N
          if (BE (pstr->offsets_needed, 0))
            {
              pstr->len = pstr->raw_len - idx + offset;