Dpkg::Compression: Use %COMP directly in functions when it is safe
commit226a9bef590ff748cf3ed7d95f0720a0cd8bd984
authorGuillem Jover <guillem@debian.org>
Thu, 22 Dec 2022 02:20:08 +0000 (22 03:20 +0100)
committerGuillem Jover <guillem@debian.org>
Sat, 24 Dec 2022 17:25:07 +0000 (24 18:25 +0100)
tree84abece63bb26181c7a27111fd0bb0db84d831fc
parent2b8000184edafd0baa74c709d581a0ec7763f7bb
Dpkg::Compression: Use %COMP directly in functions when it is safe

Calling compression_get_property() from these function is wasteful, as we
are already guaranteed the compressor is valid, and we are requesting a
known property.

In addition we are going to be deprecating the function, so better get
rid of unnecessary usage early on.
scripts/Dpkg/Compression.pm