At commit 4c86db3f, building with AppleClang, the following warning is emitted:
ivas/lib_enc/ivas_ism_dtx_enc.c:236:40: warning: variable 'total_energy' set but not used [-Wunused-but-set-variable]
I seems that the unused variable was introduced in 069a9b80 by @vaclav.