changeset 549:ee3e52ab2288

Remove unneeded variable reference lexing string literals (lwcc) Better not to increment an uninitialized value that's not used anywhere else on the code path. So don't.
author William Astle <lost@l-w.ca>
date Tue, 21 Mar 2023 14:26:00 -0600
parents cde1a5a48636
children c71c80a3b280
files lwcc/lex.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwcc/lex.c	Thu Mar 16 16:59:50 2023 -0600
+++ b/lwcc/lex.c	Tue Mar 21 14:26:00 2023 -0600
@@ -682,7 +682,6 @@
 					strval = lw_strbuf_end(strbuf);
 					goto out;
 				}
-				cl++;
 				lw_strbuf_add(strbuf, c);
 				continue;
 			}