summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2015-01-01 19:25:16 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-01 13:34:49 -0600
commita016a554e2bd5fe7ef71da2dc8c5d6698e0c49c6 (patch)
tree58fa7dcf2f391f8376c3c1aaa7b5d8fda2cbd9a8 /libc
parent1103aefd8fb3c61df870a6970e74ff5020e85562 (diff)
silence GCC
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'libc')
-rw-r--r--libc/stdio/_scanf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/_scanf.c b/libc/stdio/_scanf.c
index 6ecb3cb1e..9c00eb714 100644
--- a/libc/stdio/_scanf.c
+++ b/libc/stdio/_scanf.c
@@ -1144,7 +1144,7 @@ int VFSCANF (FILE *__restrict fp, const Wchar *__restrict format, va_list arg)
unsigned char buf[MAX_DIGITS+2];
#ifdef L_vfscanf
unsigned char scanset[UCHAR_MAX + 1];
- unsigned char invert; /* Careful! Meaning changes. */
+ unsigned char invert = 0; /* Careful! Meaning changes. */
#endif /* L_vfscanf */
unsigned char fail;
unsigned char zero_conversions = 1;