Code

compat/regex: define out variables only used under RE_ENABLE_I18N
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 19 Aug 2010 18:30:01 +0000 (18:30 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Aug 2010 20:00:44 +0000 (13:00 -0700)
commitb50f37098fcf7efb097c01daa3d60df8b9704025
tree13cf3d4ae4662badd0b3a83ce2767830741e4113
parentde831726decd9c2fcaf7c71136560cf6f5c38a59
compat/regex: define out variables only used under RE_ENABLE_I18N

Wrap variables that were only used RE_ENABLE_I18N in `#ifdef
RE_ENABLE_I18N`. This eliminates compiler warnings when compiling with
NO_REGEX=YesPlease.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/regex/regex_internal.c
compat/regex/regexec.c