Merge pull request #20733 from Snuffleupagus/LZWStream-rm-lastCode

Remove unused `lastCode` property from the `LZWStream` class (PR 324 follow-up)
This commit is contained in:
Jonas Jenwald 2026-02-25 15:20:36 +01:00 committed by GitHub
commit 3c434140ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,7 +56,6 @@ class LZWStream extends DecodeStream {
}
this.bitsCached = bitsCached -= n;
this.cachedData = cachedData;
this.lastCode = null;
return (cachedData >>> bitsCached) & ((1 << n) - 1);
}