From 6fed95b5165f4216d9cb476d54fbd3e7faf5f59b Mon Sep 17 00:00:00 2001 From: Poker Date: Tue, 24 Oct 2023 09:03:23 +0800 Subject: [PATCH] remove unused scratchBuffer field --- src/ImageSharp/Formats/Webp/BitWriter/BitWriterBase.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/ImageSharp/Formats/Webp/BitWriter/BitWriterBase.cs b/src/ImageSharp/Formats/Webp/BitWriter/BitWriterBase.cs index 4a9da3cbb1..89db7ed645 100644 --- a/src/ImageSharp/Formats/Webp/BitWriter/BitWriterBase.cs +++ b/src/ImageSharp/Formats/Webp/BitWriter/BitWriterBase.cs @@ -22,11 +22,6 @@ internal abstract class BitWriterBase /// private byte[] buffer; - /// - /// A scratch buffer to reduce allocations. - /// - private ScratchBuffer scratchBuffer; // mutable struct, don't make readonly - /// /// Initializes a new instance of the class. ///