Skip to content

Commit e2b1fe0

Browse files
committed
Final
1 parent e6229ba commit e2b1fe0

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ jobs:
6666
- mkdir -p ${BUILD_SUBDIR} && cd ${BUILD_SUBDIR}
6767
- cmake ${TRAVIS_BUILD_DIR} -DCMAKE_C_FLAGS="$COMPILER_FLAGS" -DCMAKE_CXX_FLAGS="$COMPILER_FLAGS" -DCMAKE_INSTALL_PREFIX=install -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
6868
- ${TRAVIS_BUILD_DIR}/clang-tidy-diff.sh
69-
- git merge-base master HEAD
70-
- ./clang-tidy-diff.sh
71-
- clang-tidy src/passes/pass.cpp
7269
- make -j2 install
7370
- cd ${TRAVIS_BUILD_DIR}
7471
- ./check.py --binaryen-bin=${BUILD_SUBDIR}/install/bin

src/passes/pass.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -698,10 +698,7 @@ void PassRunner::handleAfterEffects(Pass* pass, Function* func) {
698698
int PassRunner::getPassDebug() {
699699
static const int passDebug =
700700
getenv("BINARYEN_PASS_DEBUG") ? atoi(getenv("BINARYEN_PASS_DEBUG")) : 0;
701-
int testVar = 5;
702-
if (passDebug > 0)
703-
testVar = 3;
704-
(void)testVar;
701+
int unusedVar = 5;
705702
return passDebug;
706703
}
707704

0 commit comments

Comments
 (0)