2023-12-28 12:52:05

by Bagas Sanjaya

[permalink] [raw]
Subject: Re: fs/smb/client/sess.c: 462:20: warning: duplicated ‘if’ condition

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


Attachments:
(No filename) (546.00 B)
signature.asc (235.00 B)
Download all attachments