shithub: rgbds

Download patch

ref: 7ad634febd199d4004de98e81854fcbc6001de1a
parent: 1e1339467e03efad7d82db83765b733d440c4bdc
author: Anthony J. Bentley <[email protected]>
date: Thu Nov 6 16:42:40 EST 2014

Don’t assign to self.

--- a/src/asm/globlex.c
+++ b/src/asm/globlex.c
@@ -225,7 +225,6 @@
 {
 	char *s;
 
-	src = src;
 	yyskipbytes(size);
 	if ((s = sym_FindMacroArg(-1)) != NULL) {
 		yyunputstr(s);
--- a/src/asm/symbol.c
+++ b/src/asm/symbol.c
@@ -37,7 +37,6 @@
 {
 	ULONG i = 0;
 
-	sym = sym;
 	while (currentmacroargs[i] && i < MAXMACROARGS)
 		i += 1;