Re: [PATCH v2] apparmor: Remove unused value

From: Chandra Mohan Sundar
Date: Fri Aug 15 2025 - 02:34:35 EST


On Fri, Aug 15, 2025 at 9:40 AM Akhilesh Patil <akhilesh@xxxxxxxxxxxxx> wrote:
>
> On Thu, Aug 14, 2025 at 10:24:01PM +0530, Chandra Mohan Sundar wrote:
> > The value "new" is being assigned to NULL but that statement does not
> > have effect since "new" is being overwritten in the subsequent
> > fallback case.
> >
> > Remove the unused value. This issue was reported by coverity static
> > analyzer.
>
> Hi Chandra. Do you have Coverity ID for this issue ?
>
Hi Akhilesh,

Sure. The Coverity id is 1662453 (
https://scan5.scan.coverity.com/#/project-view/65357/10063?selectedIssue=1662453
).

Thanks,
Chandra Mohan Sundar