lkml.org 
[lkml]   [2017]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fscrypt: remove redundant assignment of res
On Tue, Jan 10, 2017 at 04:57:32PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> res is assigned to sizeof(ctx), however, this is unused and res
> is updated later on without that assigned value to res ever being
> used. Remove this redundant assignment.
>
> Fixes CoverityScan CID#1395546 "Unused value"
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Thanks, applied.

- Ted

\
 
 \ /
  Last update: 2017-02-07 05:27    [W:0.042 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site