From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sat, 01 Oct 2011 23:25:36 +0200 Subject: [U-Boot] [PATCH 3/7] GCC4.6: Squash warning in cmd_flash.c In-Reply-To: <1316996766-14248-3-git-send-email-marek.vasut@gmail.com> References: <1316996766-14248-1-git-send-email-marek.vasut@gmail.com> <1316996766-14248-3-git-send-email-marek.vasut@gmail.com> Message-ID: <20111001212536.B752618DFFFE@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Marek Vasut, In message <1316996766-14248-3-git-send-email-marek.vasut@gmail.com> you wrote: > cmd_flash.c: In function `do_protect?: > cmd_flash.c:474:6: warning: variable `p? set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Marek Vasut > --- > common/cmd_flash.c | 10 ++++++---- > 1 files changed, 6 insertions(+), 4 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "It's when they say 2 + 2 = 5 that I begin to argue." - Eric Pepke