1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Silence warning about an uninitialized variable.

llvm-svn: 119800
This commit is contained in:
Benjamin Kramer 2010-11-19 11:37:26 +00:00
parent 56aefef080
commit 821c39433d

View File

@ -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;