Fix no return value error.

This commit is contained in:
Simon Gorchakov 2020-05-10 22:31:20 +03:00
parent 1ec0c0a769
commit 76a3ebdc03

View File

@ -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);