diff options
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index a901142b2..ec95470ad 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -205,6 +205,7 @@ public: } BufferWithRandomAccess& operator<<(U32LEB x) { size_t before = -1; + WASM_UNUSED(before); BYN_DEBUG(before = size(); std::cerr << "writeU32LEB: " << x.value << " (at " << before << ")" << std::endl;); @@ -216,6 +217,7 @@ public: } BufferWithRandomAccess& operator<<(U64LEB x) { size_t before = -1; + WASM_UNUSED(before); BYN_DEBUG(before = size(); std::cerr << "writeU64LEB: " << x.value << " (at " << before << ")" << std::endl;); @@ -227,6 +229,7 @@ public: } BufferWithRandomAccess& operator<<(S32LEB x) { size_t before = -1; + WASM_UNUSED(before); BYN_DEBUG(before = size(); std::cerr << "writeS32LEB: " << x.value << " (at " << before << ")" << std::endl;); @@ -238,6 +241,7 @@ public: } BufferWithRandomAccess& operator<<(S64LEB x) { size_t before = -1; + WASM_UNUSED(before); BYN_DEBUG(before = size(); std::cerr << "writeS64LEB: " << x.value << " (at " << before << ")" << std::endl;); |