[cfe-commits] r122894 - /cfe/trunk/lib/CodeGen/CGStmt.cpp

Chris Lattner sabre at nondot.org
Wed Jan 5 10:41:53 PST 2011


Author: lattner
Date: Wed Jan  5 12:41:53 2011
New Revision: 122894

URL: http://llvm.org/viewvc/llvm-project?rev=122894&view=rev
Log:
fix a -Wself-assign warning

Modified:
    cfe/trunk/lib/CodeGen/CGStmt.cpp

Modified: cfe/trunk/lib/CodeGen/CGStmt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGStmt.cpp?rev=122894&r1=122893&r2=122894&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGStmt.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGStmt.cpp Wed Jan  5 12:41:53 2011
@@ -907,7 +907,7 @@
       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;
     }





More information about the cfe-commits mailing list