Silence a warning.

/Users/Sean/pg/llvm/tools/clang/lib/CodeGen/CGException.cpp:1871:23: warning: unused variable 'Finally' [-Wunused-variable]
  if (SEHFinallyStmt *Finally = S.getFinallyHandler()) {
                      ^
1 warning generated.

llvm-svn: 228255
This commit is contained in:
Sean Silva 2015-02-05 01:20:26 +00:00
parent 32f24c49d2
commit b1287ee5c9
1 changed files with 1 additions and 1 deletions

View File

@ -1868,7 +1868,7 @@ llvm::Value *CodeGenFunction::EmitSEHAbnormalTermination() {
} }
void CodeGenFunction::EnterSEHTryStmt(const SEHTryStmt &S, SEHFinallyInfo &FI) { void CodeGenFunction::EnterSEHTryStmt(const SEHTryStmt &S, SEHFinallyInfo &FI) {
if (SEHFinallyStmt *Finally = S.getFinallyHandler()) { if (S.getFinallyHandler()) {
// Push a cleanup for __finally blocks. // Push a cleanup for __finally blocks.
EHStack.pushCleanup<PerformSEHFinally>(NormalAndEHCleanup, &FI); EHStack.pushCleanup<PerformSEHFinally>(NormalAndEHCleanup, &FI);
return; return;