comparison lwasm/pass5.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 697bc543368c
comparison
equal deleted inserted replaced
1:96c4dc89016e 2:7317fbe024af
61 return 1; 61 return 1;
62 } 62 }
63 63
64 void do_pass5(asmstate_t *as) 64 void do_pass5(asmstate_t *as)
65 { 65 {
66 int rc; 66 // int rc;
67 int cnt; 67 int cnt;
68 int ocnt; 68 int ocnt;
69 line_t *cl, *sl; 69 line_t *cl, *sl;
70 struct line_expr_s *le; 70 // struct line_expr_s *le;
71 71
72 // first, count the number of non-constant addresses; do 72 // first, count the number of non-constant addresses; do
73 // a reduction first on each one 73 // a reduction first on each one
74 for (cnt = 0, cl = as -> line_head; cl; cl = cl -> next) 74 for (cnt = 0, cl = as -> line_head; cl; cl = cl -> next)
75 { 75 {