summaryrefslogtreecommitdiff
path: root/src/wasm
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm')
-rw-r--r--src/wasm/wasm-io.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wasm/wasm-io.cpp b/src/wasm/wasm-io.cpp
index 324637103..a24122bd8 100644
--- a/src/wasm/wasm-io.cpp
+++ b/src/wasm/wasm-io.cpp
@@ -129,7 +129,6 @@ void ModuleReader::readStdin(Module& wasm, std::string sourceMapFilename) {
} else {
std::ostringstream s;
s.write(input.data(), input.size());
- s << '\0';
std::string input_str = s.str();
readTextData(input_str, wasm, profile);
}