sim: bfin: fix unused bfrom handling for BF535
machs.c: In function 'bfin_model_cpu_init': machs.c:1657:1: warning: 'bfrom' may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
5de10af023
commit
02bb38cc80
@ -1,3 +1,7 @@
|
||||
2012-04-01 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* machs.c (bfin_model_map_bfrom): Return when mnum is 535.
|
||||
|
||||
2012-04-01 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* interp.c (bfin_user_init): Move auxvt_size decl from top to
|
||||
|
@ -1583,7 +1583,7 @@ bfin_model_map_bfrom (SIM_DESC sd, SIM_CPU *cpu)
|
||||
else if (mnum >= 531 && mnum <= 533)
|
||||
bfrom = bf533_roms;
|
||||
else if (mnum == 535)
|
||||
/* Stub. */;
|
||||
return; /* Stub. */
|
||||
else if (mnum >= 534 && mnum <= 537)
|
||||
bfrom = bf537_roms;
|
||||
else if (mnum >= 538 && mnum <= 539)
|
||||
|
Loading…
x
Reference in New Issue
Block a user