diff options
author | Chris Lattner <sabre@nondot.org> | 2011-01-05 18:41:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-01-05 18:41:53 +0000 |
commit | cbf40f913aa2aa5de6e0540fed209405d00a2c69 (patch) | |
tree | 603d2ba2062cf22bf50803bcf0f1e9f8322ea714 /lib/CodeGen/CGStmt.cpp | |
parent | ba68eca7582a62e3e2ff4b0eba1b2b73a6b80895 (diff) |
fix a -Wself-assign warning
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122894 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | lib/CodeGen/CGStmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |