'av.data' may be used uninitialized

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

 



When compiling libsepol with optimizations enabled I get this warning:

gcc -o hierarchy.o -c -Werror -Wall -W -Wundef -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -D_GNU_SOURCE -O3 -I. -I/mnt/data/work/selinux/selinux/libsepol/include hierarchy.c
hierarchy.c: In function 'check_avtab_hierarchy_callback':
hierarchy.c:234:2: error: 'av.data' may be used uninitialized in this function [-Werror=maybe-uninitialized]
cc1: all warnings being treated as errors
scons: *** [hierarchy.o] Error 1
scons: building terminated because of errors.

I'm not familiar enough with the internals of selinux to know if this is a problem or not. Could someone look at it?

-- 
Michael Seyfert

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux