* SUCH DAMAGE.
*/
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wcomma"
+
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)vfscanf.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
int mb_cur_max;
/* `basefix' is used to avoid `if' tests in the integer scanner */
- static short basefix[17] =
+ static const short basefix[17] =
{ 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 };
NORMALIZE_LOCALE(loc);
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;
return (commit - b);
}
#endif
+#pragma clang diagnostic push