Dear Simon Glass, In message <[email protected]> you wrote: > Commit dc8bbea removed a local variable that is used in most ARM boards. > > Since we want to avoid an 'unused variable' warning with later compilers, > and the #ifdef logic of whether this variable is required is bit painful, > this declares the variable local to the block of code that needs it. > > Signed-off-by: Simon Glass <[email protected]> > --- > Changes in v2: > - Tidy up to call getenv() in declaration > > arch/arm/lib/board.c | 12 ++++++++---- > 1 files changed, 8 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: [email protected] The joys of love made her human and the agonies of love destroyed her. -- Spock, "Requiem for Methuselah", stardate 5842.8 _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

