All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] batman-adv: Remove needless init of variables on stack
Date: Tue, 18 Oct 2016 14:45:16 +0200	[thread overview]
Message-ID: <2346332.VUBNa2cukX@bentobox> (raw)
In-Reply-To: <1469400164-14302-1-git-send-email-sven@narfation.org>

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

On Montag, 25. Juli 2016 00:42:44 CEST Sven Eckelmann wrote:
> Some variables are overwritten immediatelly in a functions. These don't
> have to be initialized to a specific value on the stack because the value
> will be overwritten before they will be used anywhere.
> 
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
>  net/batman-adv/bat_v.c          | 2 +-
>  net/batman-adv/bat_v_ogm.c      | 4 ++--
>  net/batman-adv/gateway_client.c | 2 +-
>  net/batman-adv/originator.c     | 8 ++++----
>  net/batman-adv/send.c           | 2 +-
>  5 files changed, 9 insertions(+), 9 deletions(-)

Applied in c19f30162bec891ce2eefd405b8a71023c155fb4 [1].

Kind regards,
	Sven

[1] https://git.open-mesh.org/batman-adv.git/commit/c19f30162bec891ce2eefd405b8a71023c155fb4

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

      reply	other threads:[~2016-10-18 12:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-24 22:42 [B.A.T.M.A.N.] [PATCH] batman-adv: Remove needless init of variables on stack Sven Eckelmann
2016-10-18 12:45 ` Sven Eckelmann [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=2346332.VUBNa2cukX@bentobox \
    --to=sven@narfation.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.