# HG changeset patch # User Rob Landley # Date 1205884725 18000 # Node ID 6912ed120df3c1e9687b930d249f454c5534553e # Parent 1f1a692f7563c922c74571defc3dd11ee3262c42 Silence warning when building arm target. diff -r 1f1a692f7563 -r 6912ed120df3 tccelf.c --- 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));