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

Bagas Sanjaya
2023-12-28T12:51:55Z

[-- Attachment #1: Type: text/plain, Size: 546 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]