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

Bagas Sanjaya
2023-12-28T11:52:23Z

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

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