Fix no return value error.
This commit is contained in:
parent
1ec0c0a769
commit
76a3ebdc03
@ -9116,7 +9116,7 @@ static int ppc_cpu_realizefn(struct uc_struct *uc, DeviceState *dev, Error **err
|
|||||||
create_ppc_opcodes(uc, cpu, &local_err);
|
create_ppc_opcodes(uc, cpu, &local_err);
|
||||||
if (local_err != NULL) {
|
if (local_err != NULL) {
|
||||||
error_propagate(errp, local_err);
|
error_propagate(errp, local_err);
|
||||||
return;
|
return -1;
|
||||||
}
|
}
|
||||||
init_ppc_proc(uc, cpu);
|
init_ppc_proc(uc, cpu);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user