Protect buffer[] by #ifdef FLTCALC_TRACE_CALC. It is only used when this macro is...
authorChristoph Mallon <christoph.mallon@gmx.de>
Sat, 25 Aug 2007 06:52:58 +0000 (06:52 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sat, 25 Aug 2007 06:52:58 +0000 (06:52 +0000)
[r15602]

ir/tv/fltcalc.c

index d9f7345..db427a0 100644 (file)
@@ -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) {