Mercurial > hg > index.cgi
comparison lwasm/section.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 | 5ac1c4cd81a7 |
comparison
equal
deleted
inserted
replaced
1:96c4dc89016e | 2:7317fbe024af |
---|---|
18 You should have received a copy of the GNU General Public License along with | 18 You should have received a copy of the GNU General Public License along with |
19 this program. If not, see <http://www.gnu.org/licenses/>. | 19 this program. If not, see <http://www.gnu.org/licenses/>. |
20 */ | 20 */ |
21 | 21 |
22 #include <string.h> | 22 #include <string.h> |
23 #include <ctype.h> | |
23 | 24 |
24 #include <lw_string.h> | 25 #include <lw_string.h> |
25 #include <lw_alloc.h> | 26 #include <lw_alloc.h> |
26 | 27 |
27 #include "lwasm.h" | 28 #include "lwasm.h" |
290 | 291 |
291 PARSEFUNC(pseudo_parse_extdep) | 292 PARSEFUNC(pseudo_parse_extdep) |
292 { | 293 { |
293 int after = 0; | 294 int after = 0; |
294 char *sym = NULL; | 295 char *sym = NULL; |
295 importlist_t *e; | 296 // importlist_t *e; |
296 | 297 |
297 if (as -> output_format != OUTPUT_OBJ) | 298 if (as -> output_format != OUTPUT_OBJ) |
298 { | 299 { |
299 lwasm_register_error(as, l, "EXTDEP only supported for object target"); | 300 lwasm_register_error(as, l, "EXTDEP only supported for object target"); |
300 return; | 301 return; |