From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Wed, 23 Nov 2011 08:23:11 +0100 Subject: [U-Boot] [PATCH 08/10] board/mx1ads/syncflash.c: Fix GCC 4.6 warnings In-Reply-To: <1321744338-13207-9-git-send-email-agust@denx.de> References: <1321744338-13207-1-git-send-email-agust@denx.de> <1321744338-13207-9-git-send-email-agust@denx.de> Message-ID: <4ECC9F5F.2090009@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 Hello Anatolij, Anatolij Gustschin wrote: > Fix: > syncflash.c: In function 'SF_SR': > syncflash.c:60:10: warning: variable 'tmp1' set but not used > [-Wunused-but-set-variable] > syncflash.c: In function 'SF_PrechargeAll': > syncflash.c:96:6: warning: variable 'tmp' set but not used > [-Wunused-but-set-variable] > mx1ads.c: In function 'board_early_init_f': > mx1ads.c:83:24: warning: variable 'tmp' set but not used > [-Wunused-but-set-variable] > syncflash.c: In function 'SF_Erase': > syncflash.c:112:6: warning: variable 'tmp' set but not used > [-Wunused-but-set-variable] > syncflash.c: In function 'flash_init': > syncflash.c:155:6: warning: variable 'tmp' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Anatolij Gustschin > --- > board/mx1ads/syncflash.c | 20 +++++++++----------- > 1 files changed, 9 insertions(+), 11 deletions(-) Applied to u-boot-staging hs at denx.de Thanks! bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany