OSDN Git Service

mac_{old|new}world: Set tbfreq at declaration
authorBALATON Zoltan <balaton@eik.bme.hu>
Fri, 28 Oct 2022 11:56:19 +0000 (13:56 +0200)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Mon, 31 Oct 2022 18:48:23 +0000 (18:48 +0000)
commit6b924abe99902ef4fa5b74a24c251fb38fd1e528
treebc348471a2c4595af5abd98d98369b54d3cc55fa
parent94c92e1a863b704df5b6c5160e88fd682efc4fe4
mac_{old|new}world: Set tbfreq at declaration

The tbfreq variable is only set once in an if-else which can be done
at the variable declaration saving some lines of code and making it
simpler.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <15668da8eb8bad4561428a5f25b02f91e16d9c1b.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