platform_external_selinux/libsepol/src
Nicolas Iooss 172ce53ffa libsepol: fix __attribute__((unused)) annotations
clang warns about variables which are used in a function body even
though they were marked __attribute__((unused)).  For example:

    interfaces.c:129:2: error: 'handle' was marked unused but was used
    [-Werror,-Wused-but-marked-unused]
            handle = NULL;
            ^
    interfaces.c:233:2: error: 'handle' was marked unused but was used
    [-Werror,-Wused-but-marked-unused]
            handle = NULL;
            ^

Remove these warnings either by removing meaningless assigments or by
removing the attribute.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2016-02-11 08:32:15 -05:00
..
assertion.c libsepol/cil: Add support for neverallowx 2015-12-02 15:15:03 -05:00
av_permissions.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
avrule_block.c libsepol: coverity fixes 2013-02-05 20:14:45 -05:00
avtab.c libsepol/cil: Add support for neverallowx 2015-12-02 15:15:03 -05:00
boolean_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
boolean_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
booleans.c libsepol: fix __attribute__((unused)) annotations 2016-02-11 08:32:15 -05:00
conditional.c libsepol: Write and read TUNABLE flags in related data structures. 2011-09-16 11:54:01 -04:00
constraint.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
context.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
context.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
context_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
context_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
debug.c libsepol: fix __attribute__((unused)) annotations 2016-02-11 08:32:15 -05:00
debug.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
dso.h libsepol: Don't use symbol versioning for static object files 2015-04-15 15:20:20 -04:00
ebitmap.c libsepol: Add new ebitmap function named ebitmap_match_any() 2015-06-22 09:44:55 -04:00
expand.c libsepol: Fully expand neverallowxperm rules 2015-11-24 16:36:07 -05:00
genbools.c libsepol: coverity fixes 2013-02-05 20:14:45 -05:00
genusers.c libsepol: coverity fixes 2013-02-05 20:14:45 -05:00
handle.c libsepol: libsemanage: policycoreutils: Create a new preserve_tunables flag in sepol_handle_t. 2011-09-16 11:54:02 -04:00
handle.h libsepol: libsemanage: policycoreutils: Create a new preserve_tunables flag in sepol_handle_t. 2011-09-16 11:54:02 -04:00
hashtab.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
hierarchy.c libsepol: fix __attribute__((unused)) annotations 2016-02-11 08:32:15 -05:00
iface_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
iface_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
interfaces.c libsepol: fix __attribute__((unused)) annotations 2016-02-11 08:32:15 -05:00
libsepol.map.in libsepol: add function to generate CIL from a module policydb 2015-04-01 13:09:21 -04:00
libsepol.pc.in updated libselinux pkgconfig does not work correctly on lib64 machines. 2010-03-06 18:06:43 -05:00
link.c libsepol: bool_copy_callback set state on creation 2015-03-19 14:33:47 -04:00
Makefile Build libsepol with -O2 2015-01-15 10:44:01 -05:00
mls.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
mls.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
module.c libsepol: coverity fixes 2013-02-05 20:14:45 -05:00
module_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
module_to_cil.c libsepol: Replace sscanf in module_to_cil 2015-08-04 11:10:05 -04:00
node_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
node_record.c libsepol: Android/MacOS X build support 2012-06-28 11:21:15 -04:00
nodes.c libsepol: fix __attribute__((unused)) annotations 2016-02-11 08:32:15 -05:00
polcaps.c libsepol: Add always_check_network policy capability 2012-09-12 14:30:24 -04:00
policydb.c libsepol: fix __attribute__((unused)) annotations 2016-02-11 08:32:15 -05:00
policydb_convert.c libsepol: Fix memory leak issues found by Klocwork 2013-02-05 20:14:50 -05:00
policydb_internal.h libsepol: fix most gcc -Wwrite-strings warnings 2014-10-02 09:56:15 -04:00
policydb_public.c libsepol: add function to libsepol for setting target_platform 2014-08-26 08:02:16 -04:00
port_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
port_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
ports.c libsepol: fix __attribute__((unused)) annotations 2016-02-11 08:32:15 -05:00
private.h libsepol: Android/MacOS X build support 2012-06-28 11:21:15 -04:00
roles.c libsepol: fix __attribute__((unused)) annotations 2016-02-11 08:32:15 -05:00
services.c libsepol: fix most gcc -Wwrite-strings warnings 2014-10-02 09:56:15 -04:00
sidtab.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
symtab.c libsepol: Fix memory leak issues found by Klocwork 2013-02-05 20:14:50 -05:00
user_internal.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
user_record.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
users.c libsepol: fix __attribute__((unused)) annotations 2016-02-11 08:32:15 -05:00
util.c Add neverallow support for ioctl extended permissions 2015-09-22 10:52:47 -04:00
write.c checkpolicy: switch operations to extended perms 2015-06-15 09:21:20 -04:00