diff lwasm/insn_rel.c @ 2:7317fbe024af

Clean up insane number of compiler warnings under -Wall
author lost@l-w.ca
date Thu, 20 Jan 2011 22:39:46 -0700
parents 2c24602be78f
children 651b85a98c1b
line wrap: on
line diff
--- a/lwasm/insn_rel.c	Wed Jan 19 22:31:00 2011 -0700
+++ b/lwasm/insn_rel.c	Thu Jan 20 22:39:46 2011 -0700
@@ -31,9 +31,9 @@
 
 PARSEFUNC(insn_parse_rel8)
 {
-	int v;
+//	int v;
 	lw_expr_t t, e1, e2;
-	int r;
+//	int r;
 
 	// sometimes there is a "#", ignore if there
 	if (**p == '#')
@@ -80,9 +80,9 @@
 
 PARSEFUNC(insn_parse_rel16)
 {
-	int v;
+//	int v;
 	lw_expr_t t, e1, e2;
-	int r;
+//	int r;
 
 	// sometimes there is a "#", ignore if there
 	if (**p == '#')
@@ -107,7 +107,7 @@
 EMITFUNC(insn_emit_rel16)
 {
 	lw_expr_t e;
-	int offs;
+//	int offs;
 	
 	e = lwasm_fetch_expr(l, 0);