mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
initialize sum variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1982 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dfe412dc8b
commit
dea73e5ca8
@ -27,7 +27,7 @@ typedef struct Mixed_struct {
|
|||||||
double
|
double
|
||||||
InitializeMixed(Mixed_t* M, int base)
|
InitializeMixed(Mixed_t* M, int base)
|
||||||
{
|
{
|
||||||
double sum;
|
double sum = 0;
|
||||||
int i, j;
|
int i, j;
|
||||||
|
|
||||||
for (i=0; i < 10; ++i) {
|
for (i=0; i < 10; ++i) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user