summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wast-lexer.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wast-lexer.cc b/src/wast-lexer.cc
index 4e5b14a8..877efefc 100644
--- a/src/wast-lexer.cc
+++ b/src/wast-lexer.cc
@@ -96,10 +96,8 @@ namespace wabt {
struct WastLexer::LexToken {
Location loc_;
- int value_;
+ int value_ = 0;
Token lval_;
-
- LexToken(void): value_(0) {}
};
struct WastLexer::Lookahead {