From: Chris Lattner Date: Wed, 21 Jan 2009 07:35:26 +0000 (+0000) Subject: silence a couple unused variable 'result' warnings. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53637654287a2658fa0c9f67b305795743720936;p=clang silence a couple unused variable 'result' warnings. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62674 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp index cd5626db5c..4adff72470 100644 --- a/lib/CodeGen/CGStmt.cpp +++ b/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)