From a39f4a3968caaac43ab60feece00ed6f88286536 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 25 Aug 2007 06:52:58 +0000 Subject: [PATCH] Protect buffer[] by #ifdef FLTCALC_TRACE_CALC. It is only used when this macro is set. [r15602] --- ir/tv/fltcalc.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.20.1