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

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


On Thu, Dec 28, 2023 at 11:35:29AM +0000, David Binderman wrote:
> Hello there,
>
> Recent development versions of gcc compiler produce the above warning
> in linux-6.7-rc7.
>
> Source code is
>
> if (old_iface) {
> ....
> } else if (old_iface) {

What warnings? And what gcc version? gcc 14?

Confused...

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

Attachment: signature.asc
Description: PGP signature