From: Chris Lattner Date: Wed, 5 Jan 2011 18:41:53 +0000 (+0000) Subject: fix a -Wself-assign warning X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cbf40f913aa2aa5de6e0540fed209405d00a2c69;p=clang fix a -Wself-assign warning git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122894 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp index b86cdf861e..dbef09f63a 100644 --- a/lib/CodeGen/CGStmt.cpp +++ b/lib/CodeGen/CGStmt.cpp @@ -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; }