From 1ab4c5024b4891186f14abaa77e00c02338f624c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 26 Feb 2018 15:00:35 +0100 Subject: [PATCH] Remove a useless token value copy. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- lexer/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lexer/main.c b/lexer/main.c index 24f0a51..40550f5 100644 --- a/lexer/main.c +++ b/lexer/main.c @@ -15,7 +15,6 @@ void do_lexical_analysis() { scanner(); wprint_token(target); token[tokenFound].type = tokenTypestr[tokenType]; - wcscpy((wchar_t*)tokenValue, (wchar_t*)token[tokenFound].value); tokenFound++; } while (tokenType != FIN); // tant que la fin du fichier n'est pas atteinte } -- 2.34.1