mirror of
https://git.tukaani.org/xz.git
synced 2025-03-03 07:00:53 +00:00
opt_mode == MODE_COMPRESS isn't possible when HAVE_ENCODERS isn't defined. Thus, when *encoding*, the message about *decoder* memory usage is possible to show only when both encoder and decoder have been built. Since the message is shown only at V_DEBUG, skip the memusage calculation if verbosity level isn't high enough. Fixes: 5f0c5a04388f8334962c70bc37a8c2ff8f605e0a