From 9f3bf39c4604dad2f0886413d35b71c975a66869 Mon Sep 17 00:00:00 2001 From: ken Date: Thu, 15 Dec 2016 21:40:58 -0800 Subject: [PATCH] minor changes to assignment to uninitialized variable --- src/lexer.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lexer.c b/src/lexer.c index 1550db9..97e5e98 100644 --- a/src/lexer.c +++ b/src/lexer.c @@ -54,8 +54,6 @@ extern //scanner.c int scanner_init(void); extern //scanner.c int scanner(void); -static inline -int dredge_current_depth(void); extern //bison YYSTYPE yylval; static @@ -221,7 +219,7 @@ int lexer_lexfilename /* Determine the filetype of str */ len = u8_strlen(str); - ntok += lexer_lexstring(str, len); + ntok = lexer_lexstring(str, len); /* Pass back filepath as end of statment operator */ filepath = u8_strdup(lexer_get_current_filepath()); -- 2.18.0