From dea73e5ca848da44f583ae66247c2d067947d7bb Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 24 Mar 2002 07:03:10 +0000 Subject: initialize sum variable git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1982 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/DecomposeMultiDimRefs/mixedindices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/Transforms/DecomposeMultiDimRefs/mixedindices.c b/test/Transforms/DecomposeMultiDimRefs/mixedindices.c index 13fb690..b2d2e11 100644 --- a/test/Transforms/DecomposeMultiDimRefs/mixedindices.c +++ b/test/Transforms/DecomposeMultiDimRefs/mixedindices.c @@ -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) { -- cgit v1.1