X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/4c63d2152434d7a24cd627ef559f93b096274076..23e20b0053d7317ce3facd3fd38db8c73c2c380a:/stdio/FreeBSD/vfwscanf.c diff --git a/stdio/FreeBSD/vfwscanf.c b/stdio/FreeBSD/vfwscanf.c index 771dcfc..61b868a 100644 --- a/stdio/FreeBSD/vfwscanf.c +++ b/stdio/FreeBSD/vfwscanf.c @@ -346,8 +346,10 @@ literal: case 'n': { + if (flags & SUPPRESS) /* ??? */ + continue; void *ptr = va_arg(ap, void *); - if ((ptr == NULL) || (flags & SUPPRESS)) /* ??? */ + if (ptr == NULL) continue; else if (flags & SHORTSHORT) *(char *)ptr = nread;