Fixed a couple of uninitialised variables.

This commit is contained in:
SarahW 2017-12-16 21:13:17 +00:00
commit 5adac80648

View file

@ -46,7 +46,7 @@ static int opSETALC(uint32_t fetchdat)
static int opF6_a16(uint32_t fetchdat)
{
int tempws, tempws2;
int tempws, tempws2 = 0;
uint16_t tempw, src16;
uint8_t src, dst;
int8_t temps;
@ -144,7 +144,7 @@ static int opF6_a16(uint32_t fetchdat)
}
static int opF6_a32(uint32_t fetchdat)
{
int tempws, tempws2;
int tempws, tempws2 = 0;
uint16_t tempw, src16;
uint8_t src, dst;
int8_t temps;
@ -246,7 +246,7 @@ static int opF6_a32(uint32_t fetchdat)
static int opF7_w_a16(uint32_t fetchdat)
{
uint32_t templ, templ2;
int tempws, tempws2;
int tempws, tempws2 = 0;
int16_t temps16;
uint16_t src, dst;
@ -340,7 +340,7 @@ static int opF7_w_a16(uint32_t fetchdat)
static int opF7_w_a32(uint32_t fetchdat)
{
uint32_t templ, templ2;
int tempws, tempws2;
int tempws, tempws2 = 1;
int16_t temps16;
uint16_t src, dst;