common/cmd_universe.c: Fix GCC 4.6 build warning

Fix:
cmd_universe.c: In function 'universe_init':
cmd_universe.c:49:17: warning: variable 'lastError' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
Wolfgang Denk 2011-11-09 09:29:03 +00:00
parent 4ec6e4a88f
commit e4119560cf
1 changed files with 1 additions and 3 deletions

View File

@ -46,7 +46,7 @@ static UNI_DEV *dev;
int universe_init(void)
{
int j, result, lastError = 0;
int j, result;
pci_dev_t busdevfn;
unsigned int val;
@ -126,8 +126,6 @@ int universe_init(void)
break_30:
free(dev);
break_20:
lastError = result;
return result;
}