mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +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
|
||||
InitializeMixed(Mixed_t* M, int base)
|
||||
{
|
||||
double sum;
|
||||
double sum = 0;
|
||||
int i, j;
|
||||
|
||||
for (i=0; i < 10; ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user