Pulled the start and end variables used for time measurements in the profiling block to avoid warnings during compilation without profiling.

This commit is contained in:
Patrick Vogler 2024-06-28 13:05:22 +02:00
parent ed91f1d15c
commit 41ec39574f
Signed by: Patrick Vogler
GPG key ID: 5536B08CE82E8509

View file

@ -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;