From: Johan Hedberg <johan.hedberg@gmail.com>
To: Andrei Emeltchenko <Andrei.Emeltchenko.news@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] android/tester: Fix using uninitialized variable
Date: Mon, 11 Aug 2014 10:34:08 +0300 [thread overview]
Message-ID: <20140811073408.GA22636@t440s> (raw)
In-Reply-To: <1407741422-30755-1-git-send-email-Andrei.Emeltchenko.news@gmail.com>
Hi Andrei,
On Mon, Aug 11, 2014, Andrei Emeltchenko wrote:
> Fix typo not initializing variable. Silence warnings:
>
> ...
> /android/tester-hdp.c: 71 in create_app()
> /android/tester-hdp.c: 97 in create_app()
> ...
> >>> Using uninitialized value "mdep2". Field
> >>> "mdep2.mdep_description" is uninitialized.
> 71 reg->mdep_cfg[1] = mdep2;
> ...
> >>> Using uninitialized value "mdep2". Field
> >>> "mdep2.mdep_description" is uninitialized.
> 97 reg->mdep_cfg[1] = mdep2;
> ...
> ---
> android/tester-hdp.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Applied. Thanks.
Johan
prev parent reply other threads:[~2014-08-11 7:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-11 7:17 [PATCH] android/tester: Fix using uninitialized variable Andrei Emeltchenko
2014-08-11 7:34 ` Johan Hedberg [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=20140811073408.GA22636@t440s \
--to=johan.hedberg@gmail.com \
--cc=Andrei.Emeltchenko.news@gmail.com \
--cc=linux-bluetooth@vger.kernel.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.