remove now-unnecessary features.h inclusion from fnmatch.h
[musl] / src / stdio / vfscanf.c
index 68c8e2c..c0e607f 100644 (file)
@@ -118,6 +118,8 @@ int vfscanf(FILE *restrict f, const char *restrict fmt, va_list ap)
                }
 
                if (*p=='m') {
+                       wcs = 0;
+                       s = 0;
                        alloc = !!dest;
                        p++;
                } else {