From 66c6562e24f7fbaacd9f1e6531baed2b314376c2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 21 Jan 2009 07:35:26 +0000 Subject: silence a couple unused variable 'result' warnings. llvm-svn: 62674 --- clang/lib/CodeGen/CGStmt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/lib/CodeGen/CGStmt.cpp') 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) -- cgit v1.2.3