Re: __vfwprintf set but not used 'uio'

2014-06-03 Thread Stefan Sperling
On Tue, Jun 03, 2014 at 06:52:51PM -0700, enh wrote: > yeah, the vfwprintf.c PRINT calls __xfputwc which constructs its own > uio/iov. i think the locals in the caller are just left-over cruft. That's right. I overlooked these. We can also remove the NIOV macro. Index: stdio/vfwprintf.c

Re: __vfwprintf set but not used 'uio'

2014-06-03 Thread Daniel Dickman
On Tue, Jun 3, 2014 at 7:35 PM, enh wrote: > GCC 4.9 complains: > > bionic/libc/upstream-openbsd/lib/libc/stdio/vfwprintf.c:328:16: error: > variable 'uio' set but not used [-Werror=unused-but-set-variable] > struct __suio uio; /* output information: summary */ > ^ > > suggested