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:
Chris Lattner 2002-03-24 07:03:10 +00:00
parent dfe412dc8b
commit dea73e5ca8

View File

@ -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) {