From 2dd3ea96d35b9a58a075589040e15e979b0f566b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 21 Jan 2006 21:54:58 +0000 Subject: fix unused warnings --- libc/stdio/scanf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/stdio') diff --git a/libc/stdio/scanf.c b/libc/stdio/scanf.c index cfe52d94f..b6fc1a699 100644 --- a/libc/stdio/scanf.c +++ b/libc/stdio/scanf.c @@ -1182,9 +1182,9 @@ int VFSCANF (FILE *__restrict fp, const Wchar *__restrict format, va_list arg) wchar_t *wb; #endif /* L_vfwscanf */ -#ifdef __UCLIBC_HAS_WCHAR__ +#if defined(__UCLIBC_HAS_LOCALE__) && !defined(L_vfwscanf) || !defined(L_vfscanf) mbstate_t mbstate; -#endif /* __UCLIBC_HAS_WCHAR__ */ +#endif struct scan_cookie sc; psfs_t psfs; -- cgit v1.2.3