ref: 872af9c7edc7dd8580456b1e23f1bd10d1b40974
parent: 06ea7b20bfe2961ef766985b9b61e1d062eb4264
author: ISSOtm <[email protected]>
date: Mon May 17 08:29:02 EDT 2021
Remove dead store in linker script CRLF handling
--- a/src/link/script.c
+++ b/src/link/script.c
@@ -212,10 +212,8 @@
if (curchar == '\r') {
/* Handle CRLF */
curchar = nextChar();
- if (curchar != '\n') {
+ if (curchar != '\n')
ungetc(curchar, linkerScript);
- curchar = '\r';
- }
}
} else if (curchar == '"') {
/* If we have a string start, this is a string */