shithub: rgbds

Download patch

ref: 94005513a4927af6f278a1002ec3fdd0b13b29a9
parent: 36edec6231256cd4ff40dc03261bbc58385382ea
author: stag019 <stag019@gmail.com>
date: Mon Dec 23 09:50:37 EST 2013

Comment out unused variable dest.

--- a/src/asm/globlex.c
+++ b/src/asm/globlex.c
@@ -109,7 +109,7 @@
 ULONG 
 ParseFixedPoint(char *s, ULONG size)
 {
-	char dest[256];
+	//char dest[256];
 	ULONG i = 0, dot = 0;
 
 	while (size && dot != 2) {
@@ -117,13 +117,13 @@
 			dot += 1;
 
 		if (dot < 2) {
-			dest[i] = s[i];
+			//dest[i] = s[i];
 			size -= 1;
 			i += 1;
 		}
 	}
 
-	dest[i] = 0;
+	//dest[i] = 0;
 
 	yyunputbytes(size);