2023-09-19 22:07:18

by Kent Overstreet

[permalink] [raw]
Subject: Re: [PATCH] bcachefs: Fix -Wself-assign

On Tue, Sep 19, 2023 at 01:38:31PM -0700, Nick Desaulniers wrote:
> Fixes the following observed error reported by Nathan on IRC.
>
> fs/bcachefs/io_misc.c:467:6: error: explicitly assigning value of
> variable of type 'int' to itself [-Werror,-Wself-assign]
> 467 | ret = ret;
> | ~~~ ^ ~~~
>
> Reported-by: Nathan Chancellor <[email protected]>
> Signed-off-by: Nick Desaulniers <[email protected]>

Applied, thanks!