From 41ec39574f0f3bad53e645b863ec09390da6698d Mon Sep 17 00:00:00 2001 From: Patrick Vogler Date: Fri, 28 Jun 2024 13:05:22 +0200 Subject: [PATCH] Pulled the start and end variables used for time measurements in the profiling block to avoid warnings during compilation without profiling. --- src/library/libbwc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/library/libbwc.c b/src/library/libbwc.c index 80f602e..7917322 100755 --- a/src/library/libbwc.c +++ b/src/library/libbwc.c @@ -3855,9 +3855,9 @@ bwc_compress(bwc_field *const field, bwc_data *const data) /*-----------------------*\ ! DEFINE FLOAT VARIABLES: ! \*-----------------------*/ - double start, end; - #ifdef BWC_PROFILE + double start, end; + double bpd = 0; double cpr = 0; @@ -4280,9 +4280,9 @@ bwc_decompress(bwc_field *const field, bwc_data *const data) /*-----------------------*\ ! DEFINE FLOAT VARIABLES: ! \*-----------------------*/ - double start, end; - #ifdef BWC_PROFILE + double start, end; + double ttl; double cpy;