From: Marek Lindner <lindner_marek@yahoo.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] [PATCH next] batman-adv: remove useless !! when converting to bool
Date: Tue, 13 Nov 2012 18:29:58 +0800 [thread overview]
Message-ID: <201211131829.58637.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1352749701-19288-1-git-send-email-ordex@autistici.org>
On Tuesday, November 13, 2012 03:48:21 Antonio Quartulli wrote:
> In C standard any expression different from 0 will be converted to
> 'true' when casting to bool (whatever is the length of the value).
> Therefore the "!!" conversion can be removed.
>
> This was introduced by 3fbd7ac8c71b3778c5751b3d096ea36f96ef534e
> ("batman-adv: substitute tt_poss_change with a per-tt_entry flag")
>
> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
> ---
> translation-table.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied in revision 7f05664.
Thanks,
Marek
prev parent reply other threads:[~2012-11-13 10:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-12 19:48 [B.A.T.M.A.N.] [PATCH next] batman-adv: remove useless !! when converting to bool Antonio Quartulli
2012-11-13 10:29 ` Marek Lindner [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=201211131829.58637.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.de \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/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