forked from OSchip/llvm-project
Silence warning about an uninitialized variable.
llvm-svn: 119800
This commit is contained in:
parent
b238de0415
commit
c77ebcc9a5
|
@ -166,7 +166,7 @@ void SCEV::print(raw_ostream &OS) const {
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue