summaryrefslogtreecommitdiff
path: root/src/wasm-s-parser.h
diff options
context:
space:
mode:
authorJF Bastien <jfb@chromium.org>2015-12-22 12:57:27 -0800
committerJF Bastien <jfb@chromium.org>2015-12-22 12:57:27 -0800
commitdd1b898e98ae19012ef18a990a9283ab7d349652 (patch)
treeb96d24e7983e1fbdc48af3e74c660c263ceefdee /src/wasm-s-parser.h
parentafd2e66106d08792f54aea7ddfa408853ce229ed (diff)
downloadbinaryen-dd1b898e98ae19012ef18a990a9283ab7d349652.tar.gz
binaryen-dd1b898e98ae19012ef18a990a9283ab7d349652.tar.bz2
binaryen-dd1b898e98ae19012ef18a990a9283ab7d349652.zip
Fix unused variable / function warnings.
Diffstat (limited to 'src/wasm-s-parser.h')
-rw-r--r--src/wasm-s-parser.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h
index 4f0bd199b..5440faecc 100644
--- a/src/wasm-s-parser.h
+++ b/src/wasm-s-parser.h
@@ -111,14 +111,13 @@ public:
//
class SExpressionParser {
- char *beginning;
char* input;
MixedArena allocator;
public:
// Assumes control of and modifies the input.
- SExpressionParser(char* input) : beginning(input), input(input) {
+ SExpressionParser(char* input) : input(input) {
root = nullptr;
while (!root) { // keep parsing until we pass an initial comment
root = parseInnerList();