aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-host/dino.c
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2022-10-28 13:56:20 +0200
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2022-10-31 18:48:23 +0000
commit6120dc8d9d7be4285c93f20f8978e820934b6d6f (patch)
treebc5805b5a3c5d195f0354a0cdd2175304a060f75 /hw/pci-host/dino.c
parent6b924abe99902ef4fa5b74a24c251fb38fd1e528 (diff)
downloadqemu-6120dc8d9d7be4285c93f20f8978e820934b6d6f.zip
qemu-6120dc8d9d7be4285c93f20f8978e820934b6d6f.tar.gz
qemu-6120dc8d9d7be4285c93f20f8978e820934b6d6f.tar.bz2
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>
Diffstat (limited to 'hw/pci-host/dino.c')
0 files changed, 0 insertions, 0 deletions