From: Wolfgang Denk Date: Sat, 10 Dec 2011 23:11:50 +0100 Subject: [U-Boot] [PATCH 10/13] board/ti/omap1610inn/flash.c: Fix GCC 4.6 build warnings In-Reply-To: <1323429272-26801-11-git-send-email-wd@denx.de> References: <1323429272-26801-1-git-send-email-wd@denx.de> <1323429272-26801-11-git-send-email-wd@denx.de> Message-ID: <20111210221150.1A8BC823C9@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 Wolfgang Denk, In message <1323429272-26801-11-git-send-email-wd@denx.de> you wrote: > Fix: > flash.c: In function 'flash_get_offsets': > flash.c:139:10: warning: variable 'pOrgDef' set but not used > [-Wunused-but-set-variable] > flash.c: In function 'flash_erase': > flash.c:280:6: warning: variable 'flag' set but not used > [-Wunused-but-set-variable] > flash.c: In function 'write_data': > flash.c:456:6: warning: variable 'flag' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > --- > board/ti/omap1610inn/flash.c | 21 +++++++++++++-------- > 1 files changed, 13 insertions(+), 8 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 HR Manager to job candidate "I see you've had no computer training. Although that qualifies you for upper management, it means you're under-qualified for our entry level positions."