On Tue, 05/23 17:04, Greg Kurz wrote:
> >   CC      hw/9pfs/9p-xattr-user.o
> > In file included from 
> > /var/tmp/patchew-tester-tmp-5niyvzwz/src/hw/9pfs/9p-local.c:18:0:
> > /var/tmp/patchew-tester-tmp-5niyvzwz/src/hw/9pfs/9p-local.c: In function 
> > ‘local_set_mapped_file_attrat’:
> > /var/tmp/patchew-tester-tmp-5niyvzwz/src/hw/9pfs/9p-util.h:19:5: error: 
> > ‘map_dirfd’ may be used uninitialized in this function 
> > [-Werror=maybe-uninitialized]
> >      close(fd);
> >      ^~~~~~~~~
> > /var/tmp/patchew-tester-tmp-5niyvzwz/src/hw/9pfs/9p-local.c:235:9: note: 
> > ‘map_dirfd’ was declared here
> >      int map_dirfd, map_fd;
> >          ^~~~~~~~~
> > cc1: all warnings being treated as errors
> 
> This is a false positive AFAICT... what compiler is this ?

It's gcc, as in the snipped package list above.

Fam

Reply via email to