ia64 r255472: /usr/src/sys/kern/uipc_syscalls.c:2196: warning: obj_size may be used uninitialized in this function

Dimitry Andric dim at FreeBSD.org
Thu Sep 12 15:13:38 UTC 2013


On Sep 12, 2013, at 10:37, Anton Shterenlikht <mexas at bris.ac.uk> wrote:
> ia64 r255472 buildkernel gives this error:
> 
> cc  -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000  -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror  /usr/src/sys/kern/uipc_syscalls.c
> cc1: warnings being treated as errors
> /usr/src/sys/kern/uipc_syscalls.c: In function 'vn_sendfile':
> /usr/src/sys/kern/uipc_syscalls.c:2196: warning: 'obj_size' may be used uninitialized in this function
> /usr/src/sys/kern/uipc_syscalls.c:2192: warning: 'pg' may be used uninitialized in this function
> *** [uipc_syscalls.o] Error code 1

Kostik fixed this in r255475.  You're just 3 revs short. :-)

-Dimitry


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130912/8f077e90/attachment.sig>


More information about the freebsd-current mailing list