Browse Source

silence GCC

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser 10 years ago
parent
commit
a016a554e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/stdio/_scanf.c

+ 1 - 1
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;