From: Bagas Sanjaya <bagasdotme@gmail.com>
To: David Binderman <dcb314@hotmail.com>,
"sfrench@samba.org" <sfrench@samba.org>,
"pc@manguebit.com" <pc@manguebit.com>,
"lsahlber@redhat.com" <lsahlber@redhat.com>,
"sprasad@microsoft.com" <sprasad@microsoft.com>,
"tom@talpey.com" <tom@talpey.com>,
"linux-cifs@vger.kernel.org" <linux-cifs@vger.kernel.org>,
"samba-technical@lists.samba.org"
<samba-technical@lists.samba.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: fs/smb/client/sess.c:462:20: warning: duplicated ‘if’ condition
Date: Thu, 28 Dec 2023 19:51:48 +0700 [thread overview]
Message-ID: <ZY1vZLLKX8RIinFa@archie.me> (raw)
In-Reply-To: <AS8PR02MB102175EE04EAB5CAB6E459BEF9C9EA@AS8PR02MB10217.eurprd02.prod.outlook.com>
[-- 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 --]
prev parent reply other threads:[~2023-12-28 12:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-28 11:35 fs/smb/client/sess.c:462:20: warning: duplicated ‘if’ condition David Binderman
2023-12-28 11:52 ` Bagas Sanjaya
2023-12-28 12:03 ` David Binderman
2023-12-28 12:51 ` Bagas Sanjaya [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZY1vZLLKX8RIinFa@archie.me \
--to=bagasdotme@gmail.com \
--cc=dcb314@hotmail.com \
--cc=linux-cifs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lsahlber@redhat.com \
--cc=pc@manguebit.com \
--cc=samba-technical@lists.samba.org \
--cc=sfrench@samba.org \
--cc=sprasad@microsoft.com \
--cc=tom@talpey.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox