The value stored to 'len' is never read

Signed-off-by: Elyes Haouas <ehao...@noos.fr>
---
 grub-core/script/lexer.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/grub-core/script/lexer.c b/grub-core/script/lexer.c
index 52004d059..00f6ef184 100644
--- a/grub-core/script/lexer.c
+++ b/grub-core/script/lexer.c
@@ -216,7 +216,6 @@ grub_script_lexer_yywrap (struct grub_parser_param 
*parserstate,
       grub_free (line);
 
       line = p;
-      len = len + plen;
     }
 
   buffer = yy_scan_string (line, lexerstate->yyscanner);
-- 
2.35.1


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to