Fixed a couple of uninitialised variables.
This commit is contained in:
parent
d28cdb49e7
commit
5adac80648
1 changed files with 4 additions and 4 deletions
|
|
@ -46,7 +46,7 @@ static int opSETALC(uint32_t fetchdat)
|
||||||
|
|
||||||
static int opF6_a16(uint32_t fetchdat)
|
static int opF6_a16(uint32_t fetchdat)
|
||||||
{
|
{
|
||||||
int tempws, tempws2;
|
int tempws, tempws2 = 0;
|
||||||
uint16_t tempw, src16;
|
uint16_t tempw, src16;
|
||||||
uint8_t src, dst;
|
uint8_t src, dst;
|
||||||
int8_t temps;
|
int8_t temps;
|
||||||
|
|
@ -144,7 +144,7 @@ static int opF6_a16(uint32_t fetchdat)
|
||||||
}
|
}
|
||||||
static int opF6_a32(uint32_t fetchdat)
|
static int opF6_a32(uint32_t fetchdat)
|
||||||
{
|
{
|
||||||
int tempws, tempws2;
|
int tempws, tempws2 = 0;
|
||||||
uint16_t tempw, src16;
|
uint16_t tempw, src16;
|
||||||
uint8_t src, dst;
|
uint8_t src, dst;
|
||||||
int8_t temps;
|
int8_t temps;
|
||||||
|
|
@ -246,7 +246,7 @@ static int opF6_a32(uint32_t fetchdat)
|
||||||
static int opF7_w_a16(uint32_t fetchdat)
|
static int opF7_w_a16(uint32_t fetchdat)
|
||||||
{
|
{
|
||||||
uint32_t templ, templ2;
|
uint32_t templ, templ2;
|
||||||
int tempws, tempws2;
|
int tempws, tempws2 = 0;
|
||||||
int16_t temps16;
|
int16_t temps16;
|
||||||
uint16_t src, dst;
|
uint16_t src, dst;
|
||||||
|
|
||||||
|
|
@ -340,7 +340,7 @@ static int opF7_w_a16(uint32_t fetchdat)
|
||||||
static int opF7_w_a32(uint32_t fetchdat)
|
static int opF7_w_a32(uint32_t fetchdat)
|
||||||
{
|
{
|
||||||
uint32_t templ, templ2;
|
uint32_t templ, templ2;
|
||||||
int tempws, tempws2;
|
int tempws, tempws2 = 1;
|
||||||
int16_t temps16;
|
int16_t temps16;
|
||||||
uint16_t src, dst;
|
uint16_t src, dst;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue