public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] cmd_ubi: Fix uninitialized variable warning
Date: Fri, 9 Apr 2010 16:35:55 +0200	[thread overview]
Message-ID: <201004091635.55233.sr@denx.de> (raw)
In-Reply-To: <1270438850-26841-1-git-send-email-ptyser@xes-inc.com>

On Monday 05 April 2010 05:40:50 Peter Tyser wrote:
> gcc 3.4.6 previously reported the following error on many MIPS boards
> which utilize UBI:
>   cmd_ubi.c:193: warning: 'vol' might be used uninitialized in this
> function
> 
> The current code is structured such that 'vol' will never be used when
> it is NULL anyway, but gcc isn't smart enough to figure this out.

Applied to u-boot-ubi/master. Thanks.
 
Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de

      reply	other threads:[~2010-04-09 14:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-05  3:40 [U-Boot] [PATCH] cmd_ubi: Fix uninitialized variable warning Peter Tyser
2010-04-09 14:35 ` Stefan Roese [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=201004091635.55233.sr@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /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