From: Christoph Mallon Date: Sat, 25 Aug 2007 06:52:58 +0000 (+0000) Subject: Protect buffer[] by #ifdef FLTCALC_TRACE_CALC. It is only used when this macro is... X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=a39f4a3968caaac43ab60feece00ed6f88286536;p=libfirm Protect buffer[] by #ifdef FLTCALC_TRACE_CALC. It is only used when this macro is set. [r15602] --- diff --git a/ir/tv/fltcalc.c b/ir/tv/fltcalc.c index d9f7345ad..db427a0e7 100644 --- a/ir/tv/fltcalc.c +++ b/ir/tv/fltcalc.c @@ -1527,7 +1527,9 @@ void finish_fltcalc (void) { free(calc_buffer); calc_buffer = NULL; } +#ifdef FLTCALC_TRACE_CALC static char buffer[100]; +#endif /* definition of interface functions */ fp_value *fc_add(const fp_value *a, const fp_value *b, fp_value *result) {