summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-21 07:35:26 +0000
committerChris Lattner <sabre@nondot.org>2009-01-21 07:35:26 +0000
commit66c6562e24f7fbaacd9f1e6531baed2b314376c2 (patch)
treec1ce31b0b5c2f808d6dfc51d88f8a8efbfe8c0fb
parent8d6c828728ae9e6053d609b3ae49f945d7cbdf49 (diff)
downloadbcm5719-llvm-66c6562e24f7fbaacd9f1e6531baed2b314376c2.tar.gz
bcm5719-llvm-66c6562e24f7fbaacd9f1e6531baed2b314376c2.zip
silence a couple unused variable 'result' warnings.
llvm-svn: 62674
-rw-r--r--clang/lib/CodeGen/CGStmt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp
index cd5626db5c7..4adff72470d 100644
--- a/clang/lib/CodeGen/CGStmt.cpp
+++ b/clang/lib/CodeGen/CGStmt.cpp
@@ -863,7 +863,7 @@ static std::string SimplifyConstraint(const char* Constraint,
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 @@ void CodeGenFunction::EmitAsmStmt(const AsmStmt &S) {
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)
OpenPOWER on IntegriCloud