SVN r255467 breaks kernel build on -current

From: Michael Butler <imb_at_protected-networks.net>
Date: Wed, 11 Sep 2013 10:47:20 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

GCC complains about two uninitialized variables:


*** sys/kern/uipc_syscalls.c~   Wed Sep 11 07:52:16 2013
- --- sys/kern/uipc_syscalls.c    Wed Sep 11 08:29:43 2013
***************
*** 2189,2199 ****
        struct socket *so;
        struct mbuf *m;
        struct sf_buf *sf;
!       struct vm_page *pg;
        struct shmfd *shmfd;
        struct sendfile_sync *sfs;
        struct vattr va;
!       off_t off, xfsize, fsbytes, sbytes, rem, obj_size;
        int error, bsize, nd, hdrlen, mnw;
        bool inflight_called;

- --- 2189,2199 ----
        struct socket *so;
        struct mbuf *m;
        struct sf_buf *sf;
!       struct vm_page *pg = NULL;
        struct shmfd *shmfd;
        struct sendfile_sync *sfs;
        struct vattr va;
!       off_t off, xfsize, fsbytes, sbytes, rem, obj_size = 0;
        int error, bsize, nd, hdrlen, mnw;
        bool inflight_called;

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (FreeBSD)

iEYEARECAAYFAlIwgncACgkQQv9rrgRC1JJA5QCeNUkHfL7IwnQV4xdYlcbkUn/W
nGkAn0dxVf7EWEpTBQzki/TrLS9a5+w9
=2rpA
-----END PGP SIGNATURE-----
Received on Wed Sep 11 2013 - 12:47:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC