[llvm-commits] [llvm] r119800 - /llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Benjamin Kramer
benny.kra at googlemail.com
Fri Nov 19 03:37:26 PST 2010
Author: d0k
Date: Fri Nov 19 05:37:26 2010
New Revision: 119800
URL: http://llvm.org/viewvc/llvm-project?rev=119800&view=rev
Log:
Silence warning about an uninitialized variable.
Modified:
llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=119800&r1=119799&r2=119800&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Fri Nov 19 05:37:26 2010
@@ -166,7 +166,7 @@
case scUMaxExpr:
case scSMaxExpr: {
const SCEVNAryExpr *NAry = cast<SCEVNAryExpr>(this);
- const char *OpStr;
+ const char *OpStr = 0;
switch (NAry->getSCEVType()) {
case scAddExpr: OpStr = " + "; break;
case scMulExpr: OpStr = " * "; break;
More information about the llvm-commits
mailing list