diff --git a/src/ImageSharp/Formats/Gif/GifDecoderCore.cs b/src/ImageSharp/Formats/Gif/GifDecoderCore.cs index 2bb81b172..78ceb0b23 100644 --- a/src/ImageSharp/Formats/Gif/GifDecoderCore.cs +++ b/src/ImageSharp/Formats/Gif/GifDecoderCore.cs @@ -702,7 +702,6 @@ internal sealed class GifDecoderCore : ImageDecoderCore } else { - TPixel transparentPixel = Color.Transparent.ToPixel(); for (int x = 0; x < row.Length; x++) { int index = indicesRow[x];