From 80db3609f4ec21e1fdef917868aa050902be0fe9 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Wed, 25 Feb 2026 13:31:44 +0100 Subject: [PATCH] Remove unused `lastCode` property from the `LZWStream` class (PR 324 follow-up) This appear to have been unused already in PR 324 all the way back in 2011. --- src/core/lzw_stream.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/lzw_stream.js b/src/core/lzw_stream.js index 7971aeb26..465cffddf 100644 --- a/src/core/lzw_stream.js +++ b/src/core/lzw_stream.js @@ -56,7 +56,6 @@ class LZWStream extends DecodeStream { } this.bitsCached = bitsCached -= n; this.cachedData = cachedData; - this.lastCode = null; return (cachedData >>> bitsCached) & ((1 << n) - 1); }