summaryrefslogtreecommitdiff
path: root/posix/fnmatch_loop.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-07-05 13:22:48 +0000
committerAndreas Jaeger <aj@suse.de>2000-07-05 13:22:48 +0000
commit00a6fe20a5936eb1091ec45ee724081db0b6f114 (patch)
tree6ae840f4a8fa306ed71f3c9208097aee297ac713 /posix/fnmatch_loop.c
parent293c6b3cd8a4c5973a25d2ecdcf39618ac3494cc (diff)
(FCT): Only declare len if
!WIDE_CHAR_VERSION to silence GCC.
Diffstat (limited to 'posix/fnmatch_loop.c')
-rw-r--r--posix/fnmatch_loop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/posix/fnmatch_loop.c b/posix/fnmatch_loop.c
index 8b163be24f..005dd99d7b 100644
--- a/posix/fnmatch_loop.c
+++ b/posix/fnmatch_loop.c
@@ -380,7 +380,9 @@ FCT (pattern, string, no_leading_period, flags)
/* We found a table entry. Now see whether the
character we are currently at has the same
equivalance class value. */
+# if !WIDE_CHAR_VERSION
int len = weights[idx];
+# endif
int32_t idx2;
const UCHAR *np = (const UCHAR *) n;