shithub: rgbds

Download patch

ref: f1c13af703b8ab43a72626df69aba2ae7b73a5e1
parent: 90bc8d91100b23c6e4283c2983cc353434bb8956
author: Antonio Niño Díaz <[email protected]>
date: Fri Oct 27 16:21:00 EDT 2017

Fix warning about unused variable

Signed-off-by: Antonio Niño Díaz <[email protected]>

--- a/src/asm/symbol.c
+++ b/src/asm/symbol.c
@@ -62,9 +62,8 @@
 }
 
 SLONG
-Callback__LINE__(struct sSymbol * sym)
+Callback__LINE__(struct sSymbol __attribute__((unused)) * sym)
 {
-	sym = sym;
 	return (nLineNo);
 }