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

Chris Lattner sabre at nondot.org
Tue Jan 20 23:35:26 PST 2009


Author: lattner
Date: Wed Jan 21 01:35:26 2009
New Revision: 62674

URL: http://llvm.org/viewvc/llvm-project?rev=62674&view=rev
Log:
silence a couple unused variable 'result' warnings.

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=62674&r1=62673&r2=62674&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGStmt.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGStmt.cpp Wed Jan 21 01:35:26 2009
@@ -863,7 +863,7 @@
       bool result = Target.resolveSymbolicName(Constraint, 
                                                OutputNamesBegin,
                                                OutputNamesEnd, Index);
-      assert(result && "Could not resolve symbolic name");
+      assert(result && "Could not resolve symbolic name"); result=result;
       Result += llvm::utostr(Index);
       break;
     }
@@ -993,7 +993,7 @@
     bool result = Target.validateInputConstraint(InputConstraint.c_str(),
                                                  S.begin_output_names(),
                                                  S.end_output_names(),
-                                                 Info);
+                                                 Info); result=result;
     assert(result && "Failed to parse input constraint");
     
     if (i != 0 || S.getNumOutputs() > 0)





More information about the cfe-commits mailing list