Commit a39f4a39 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Protect buffer[] by #ifdef FLTCALC_TRACE_CALC. It is only used when this macro is set.

parent f9f80336
...@@ -1527,7 +1527,9 @@ void finish_fltcalc (void) { ...@@ -1527,7 +1527,9 @@ void finish_fltcalc (void) {
free(calc_buffer); calc_buffer = NULL; free(calc_buffer); calc_buffer = NULL;
} }
static char buffer[100]; static char buffer[100];
/* definition of interface functions */ /* definition of interface functions */
fp_value *fc_add(const fp_value *a, const fp_value *b, fp_value *result) { fp_value *fc_add(const fp_value *a, const fp_value *b, fp_value *result) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment