forked from OSchip/llvm-project
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:
parent
32f24c49d2
commit
b1287ee5c9
|
@ -1868,7 +1868,7 @@ llvm::Value *CodeGenFunction::EmitSEHAbnormalTermination() {
|
|||
}
|
||||
|
||||
void CodeGenFunction::EnterSEHTryStmt(const SEHTryStmt &S, SEHFinallyInfo &FI) {
|
||||
if (SEHFinallyStmt *Finally = S.getFinallyHandler()) {
|
||||
if (S.getFinallyHandler()) {
|
||||
// Push a cleanup for __finally blocks.
|
||||
EHStack.pushCleanup<PerformSEHFinally>(NormalAndEHCleanup, &FI);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue