From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sun, 24 Jun 2012 00:56:08 +0200 Subject: [U-Boot] [PATCH 1/4] cmd_bootm: fix compilation warning for assigned but never used variable In-Reply-To: <1340482108-18468-1-git-send-email-otavio@ossystems.com.br> References: <1340482108-18468-1-git-send-email-otavio@ossystems.com.br> Message-ID: <20120623225608.D2B07200280@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 Otavio Salvador, In message <1340482108-18468-1-git-send-email-otavio@ossystems.com.br> you wrote: > The iflag variable was holding the return of disable_interrupts call > but the value was not used in the method so we drop the assignment. > > Signed-off-by: Otavio Salvador > --- > common/cmd_bootm.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Please rebase and update your patches; this specific problem for example has been fixed long ago: commit a075a79f98cc3f5972a2ed80551c0873217aef7d Author: Anatolij Gustschin Date: Sat May 19 05:38:19 2012 +0000 common/cmd_bootm.c: Fix GCC 4.6 warning 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 more data I punch in this card, the lighter it becomes, and the lower the mailing cost." - Stan Kelly-Bootle, "The Devil's DP Dictionary"