From: Wolfgang Denk Date: Sat, 10 Dec 2011 23:12:42 +0100 Subject: [U-Boot] [PATCH 12/13] board/ti/omap730p2/flash.c: Fix GCC 4.6 build warnings In-Reply-To: <1323429272-26801-13-git-send-email-wd@denx.de> References: <1323429272-26801-1-git-send-email-wd@denx.de> <1323429272-26801-13-git-send-email-wd@denx.de> Message-ID: <20111210221242.B4518823C9@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-13-git-send-email-wd@denx.de> you wrote: > Fix: > flash.c: In function 'flash_get_offsets': > flash.c:122:10: warning: variable 'pOrgDef' set but not used > [-Wunused-but-set-variable] > flash.c: In function 'flash_erase': > flash.c:263:6: warning: variable 'flag' set but not used > [-Wunused-but-set-variable] > flash.c: In function 'write_data': > flash.c:439:6: warning: variable 'flag' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > Cc: Dave Peverley > --- > board/ti/omap730p2/flash.c | 19 ++++++++++++------- > 1 files changed, 12 insertions(+), 7 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 The human mind ordinarily operates at only ten percent of its capaci- ty - the rest is overhead for the operating system.