Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: [netbsd-7] src/sys/fs/tmpfs



<http://mail-index.netbsd.org/source-changes/2016/05/09/msg074550.html>

... breaks with

/public/netbsd-7/sys/rump/fs/lib/libtmpfs/../../../../fs/tmpfs/tmpfs_vnops.c:585:16: 
error: 'node' may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
  tmpfs_node_t *node;
                ^
In file included from 
/public/netbsd-7/sys/rump/fs/lib/libtmpfs/../../../../sys/systm.h:418:0,
                 from 
/public/netbsd-7/sys/rump/fs/lib/libtmpfs/../../../../sys/timevar.h:66,
                 from 
/public/netbsd-7/sys/rump/fs/lib/libtmpfs/../../../../sys/time.h:262,
                 from 
/public/netbsd-7/sys/rump/fs/lib/libtmpfs/../../../../sys/param.h:137,
                 from 
/public/netbsd-7/sys/rump/fs/lib/libtmpfs/../../../../fs/tmpfs/tmpfs_vnops.c:40:
/public/netbsd-7/sys/rump/fs/lib/libtmpfs/../../../../lib/libkern/libkern.h:274:51: 
error: 'oldsize' may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
 #define KASSERT(e) (__predict_true((e)) ? (void)0 :      \
                                                   ^
/public/netbsd-7/sys/rump/fs/lib/libtmpfs/../../../../fs/tmpfs/tmpfs_vnops.c:587:8: 
note: 'oldsize' was declared here
  off_t oldsize;
        ^

on sparc64.

Cheerio,
hauke

-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-21344


Home | Main Index | Thread Index | Old Index