mac_{old|new}world: Avoid else branch by setting default value
commit6120dc8d9d7be4285c93f20f8978e820934b6d6f
authorBALATON Zoltan <balaton@eik.bme.hu>
Fri, 28 Oct 2022 11:56:20 +0000 (28 13:56 +0200)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Mon, 31 Oct 2022 18:48:23 +0000 (31 18:48 +0000)
treebc5805b5a3c5d195f0354a0cdd2175304a060f75
parent6b924abe99902ef4fa5b74a24c251fb38fd1e528
mac_{old|new}world: Avoid else branch by setting default value

Several variables are set in if-else branches where the else branch
can be removed by setting a default value at the variable declaration
which leads to simlpler code that is easier to follow.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <8dac3515b29976a61dacda07752175d7531dca3c.1666957578.git.balaton@eik.bme.hu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/ppc/mac_newworld.c
hw/ppc/mac_oldworld.c