diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-21 07:35:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-21 07:35:26 +0000 |
commit | 53637654287a2658fa0c9f67b305795743720936 (patch) | |
tree | 925a2d8c836f1c4c912c8a1ce4d981b1b20315b0 /lib/CodeGen/CGStmt.cpp | |
parent | cdd8f2153e18796e9e2a126ebcbd4f3e1bd7135b (diff) |
silence a couple unused variable 'result' warnings.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62674 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | lib/CodeGen/CGStmt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) |