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

From: Paul Moore
Date: Wed Oct 04 2017 - 16:33:57 EST


On Wed, Oct 4, 2017 at 4:26 PM, Stephen Smalley <sds@xxxxxxxxxxxxx> 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@xxxxxxxxx>
>
> Acked-by: Stephen Smalley <sds@xxxxxxxxxxxxx>

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

--
paul moore
www.paul-moore.com