(FCT): Only declare len if
authorAndreas Jaeger <aj@suse.de>
Wed, 5 Jul 2000 13:22:48 +0000 (13:22 +0000)
committerAndreas Jaeger <aj@suse.de>
Wed, 5 Jul 2000 13:22:48 +0000 (13:22 +0000)
!WIDE_CHAR_VERSION to silence GCC.

posix/fnmatch_loop.c

index 8b163be..005dd99 100644 (file)
@@ -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;