]> Sergey Matveev's repositories - public-inbox.git/commit
gzipfilter: minor cleanups
authorEric Wong <e@yhbt.net>
Sun, 5 Jul 2020 23:27:17 +0000 (23:27 +0000)
committerEric Wong <e@yhbt.net>
Mon, 6 Jul 2020 20:01:15 +0000 (20:01 +0000)
commitcfd960f6a2c1cff9a9537b0758fcde1d3203b17f
tree0533789b92dfb3ccaaf874bb77db3fbdb5596db0
parent2c6e8b10e3f9f3b047009126426ce634c8f29a23
gzipfilter: minor cleanups

We currently don't use bytes::length in ->write, so there's no
need to `use bytes'.  Favor `//=' to describe the intent of the
conditional assignment since the C::R::Z::Deflate object is
always truthy.  Also use the local $gz variable to avoid
unnecessary {gz} hash lookups.
lib/PublicInbox/GzipFilter.pm