]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
selinux: fix compile errors
authorGuido Günther <agx@sigxcpu.org>
Mon, 24 Aug 2015 12:04:37 +0000 (14:04 +0200)
committerGuido Günther <agx@sigxcpu.org>
Mon, 24 Aug 2015 12:15:12 +0000 (14:15 +0200)
commit4d4c90dfd5475c100c6fd3fb705011e0d90d793e
treedd54fc27fdd67f5c3e786a7f0201515e08049909
parent269d39afe5c59ecb3d3d64dba52f8cfa8d63d197
selinux: fix compile errors

Remove unused variable, tag unused parameter and adjust return type.

introduced by 3f48345f7ec0c44b8ce2371cab454d2118f830b4

CC     security/libvirt_security_manager_la-security_selinux.lo
security/security_selinux.c: In function 'virSecuritySELinuxDomainSetDirLabel':
security/security_selinux.c:2520:5: error: return makes pointer from integer without a cast [-Werror]
security/security_selinux.c:2514:9: error: unused variable 'ret' [-Werror=unused-variable]
security/security_selinux.c:2509:59: error: unused parameter 'mgr' [-Werror=unused-parameter]
src/security/security_selinux.c