summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-04-30 12:25:05 -0700
committerHeejin Ahn <aheejin@gmail.com>2019-04-30 12:25:05 -0700
commitc3525e03cf45e9bccbdf6b40208e5fae7769b6c9 (patch)
tree064d194db5bee9a05fcf9b5098a2d062b6f87c1a
parent6ef03f511a98565cb62d8e50940bcda95599e7f6 (diff)
downloadbinaryen-c3525e03cf45e9bccbdf6b40208e5fae7769b6c9.tar.gz
binaryen-c3525e03cf45e9bccbdf6b40208e5fae7769b6c9.tar.bz2
binaryen-c3525e03cf45e9bccbdf6b40208e5fae7769b6c9.zip
Remove the clang-tidy error used to trigger Travis CI error
-rw-r--r--src/passes/pass.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/passes/pass.cpp b/src/passes/pass.cpp
index 65d8c438d..ae940a56d 100644
--- a/src/passes/pass.cpp
+++ b/src/passes/pass.cpp
@@ -698,10 +698,6 @@ void PassRunner::handleAfterEffects(Pass* pass, Function* func) {
int PassRunner::getPassDebug() {
static const int passDebug =
getenv("BINARYEN_PASS_DEBUG") ? atoi(getenv("BINARYEN_PASS_DEBUG")) : 0;
- int a = 0;
- if (true)
- a = 5;
- (void)a;
return passDebug;
}