fix a -Wself-assign warning

llvm-svn: 122894
This commit is contained in:
Chris Lattner 2011-01-05 18:41:53 +00:00
parent 1b3f5b9f74
commit 63c41a2458
1 changed files with 1 additions and 1 deletions

View File

@ -907,7 +907,7 @@ SimplifyConstraint(const char *Constraint, const TargetInfo &Target,
bool result = Target.resolveSymbolicName(Constraint,
&(*OutCons)[0],
OutCons->size(), Index);
assert(result && "Could not resolve symbolic name"); result=result;
assert(result && "Could not resolve symbolic name"); (void)result;
Result += llvm::utostr(Index);
break;
}