[PATCH 1/2] selinux: fix build warning by removing the unused sid variable

Paul Moore paul at paul-moore.com
Wed Oct 4 20:33:50 UTC 2017


On Wed, Oct 4, 2017 at 4:26 PM, Stephen Smalley <sds at tycho.nsa.gov> wrote:
> On Wed, 2017-10-04 at 20:32 +0200, Corentin Labbe wrote:
>> This patch remove the unused variable sid
>> This fix the following build warning:
>> security/selinux/hooks.c:2921:6: warning: variable 'sid' set but not
>> used [-Wunused-but-set-variable]
>>
>> Signed-off-by: Corentin Labbe <clabbe.montjoie at gmail.com>
>
> Acked-by: Stephen Smalley <sds at tycho.nsa.gov>

Looks good to me too, merged into selinux/next.  Thanks.

-- 
paul moore
www.paul-moore.com
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the Linux-security-module-archive mailing list