mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Remove dead store in linker script CRLF handling
This commit is contained in:
@@ -212,10 +212,8 @@ static struct LinkerScriptToken *nextToken(void)
|
|||||||
if (curchar == '\r') {
|
if (curchar == '\r') {
|
||||||
/* Handle CRLF */
|
/* Handle CRLF */
|
||||||
curchar = nextChar();
|
curchar = nextChar();
|
||||||
if (curchar != '\n') {
|
if (curchar != '\n')
|
||||||
ungetc(curchar, linkerScript);
|
ungetc(curchar, linkerScript);
|
||||||
curchar = '\r';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} else if (curchar == '"') {
|
} else if (curchar == '"') {
|
||||||
/* If we have a string start, this is a string */
|
/* If we have a string start, this is a string */
|
||||||
|
|||||||
Reference in New Issue
Block a user