summaryrefslogtreecommitdiffstatshomepage
path: root/stm/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/main.c')
-rw-r--r--stm/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/stm/main.c b/stm/main.c
index d8649f5797..4b6aaf76f9 100644
--- a/stm/main.c
+++ b/stm/main.c
@@ -455,8 +455,7 @@ void do_repl(void) {
}
bool do_file(const char *filename) {
- mp_lexer_file_buf_t fb;
- mp_lexer_t *lex = mp_lexer_new_from_file(filename, &fb);
+ mp_lexer_t *lex = mp_lexer_new_from_file(filename);
if (lex == NULL) {
printf("could not open file '%s' for reading\n", filename);