Mercurial > hg > qcc
changeset 575:6912ed120df3
Silence warning when building arm target.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 18 Mar 2008 18:58:45 -0500 |
parents | 1f1a692f7563 |
children | d49cd2941848 |
files | tccelf.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tccelf.c Tue Mar 18 18:52:00 2008 -0500 +++ b/tccelf.c Tue Mar 18 18:58:45 2008 -0500 @@ -976,14 +976,13 @@ /* add tcc runtime libraries */ static void tcc_add_runtime(TCCState *s1) { - char buf[1024]; - #ifdef CONFIG_TCC_BCHECK if (do_bounds_check) { unsigned long *ptr; Section *init_section; unsigned char *pinit; int sym_index; + char buf[1024]; /* XXX: add an object file to do that */ ptr = section_ptr_add(bounds_section, sizeof(unsigned long));