Re: fs/smb/client/sess.c:462:20: warning: duplicated ‘if’ condition

From: Bagas Sanjaya
Date: Thu Dec 28 2023 - 07:52:06 EST


On Thu, Dec 28, 2023 at 12:03:21PM +0000, David Binderman wrote:
> Hello there,
>
> >What warnings?
>
> The warning mentioned in the title.
>
> >And what gcc version?
>
> Probably most versions.

So gcc 13 doesn't have the warning but gcc 14 (still in development) do,
right?

>
> You will probably have to switch on gcc compiler flag -Wduplicated-cond
> in any random released version of gcc to see what I see.

Full gcc output please?

Still confused...

--
An old man doll... just what I always wanted! - Clara

Attachment: signature.asc
Description: PGP signature