Fix uninitialized warning from VS2022
(It's undeserved.)
This commit is contained in:
parent
cf45e06f65
commit
1f94350beb
1 changed files with 2 additions and 2 deletions
|
@ -379,7 +379,7 @@ return SCPE_OK;
|
||||||
|
|
||||||
t_stat fp15_opnd (int32 ir, int32 addr, UFP *fpn)
|
t_stat fp15_opnd (int32 ir, int32 addr, UFP *fpn)
|
||||||
{
|
{
|
||||||
int32 i, numwd, wd[3];
|
int32 i, numwd, wd[3] = { 0,0,0 };
|
||||||
|
|
||||||
fguard = 0; /* clear guard */
|
fguard = 0; /* clear guard */
|
||||||
if (ir & FI_NOLOAD) /* no load? */
|
if (ir & FI_NOLOAD) /* no load? */
|
||||||
|
@ -426,7 +426,7 @@ return FP_OK;
|
||||||
|
|
||||||
t_stat fp15_store (int32 ir, int32 addr, UFP *a)
|
t_stat fp15_store (int32 ir, int32 addr, UFP *a)
|
||||||
{
|
{
|
||||||
int32 i, numwd, wd[3];
|
int32 i, numwd, wd[3] = { 0,0,0 };
|
||||||
t_stat sta;
|
t_stat sta;
|
||||||
|
|
||||||
fguard = 0; /* clear guard */
|
fguard = 0; /* clear guard */
|
||||||
|
|
Loading…
Add table
Reference in a new issue