diff options
Diffstat (limited to 'src/wast-parser-lexer-shared.cc')
-rw-r--r-- | src/wast-parser-lexer-shared.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/wast-parser-lexer-shared.cc b/src/wast-parser-lexer-shared.cc index 659ebcbc..73161693 100644 --- a/src/wast-parser-lexer-shared.cc +++ b/src/wast-parser-lexer-shared.cc @@ -67,14 +67,4 @@ void wast_format_error(ErrorHandler* error_handler, va_end(args_copy); } -void destroy_text_list(TextList* text_list) { - TextListNode* node = text_list->first; - while (node) { - TextListNode* next = node->next; - destroy_string_slice(&node->text); - delete node; - node = next; - } -} - } // namespace wabt |