Skip to content

Remove unnecessary variable declaration in QoiDecoderCore - #3266

Open
winscripter wants to merge 1 commit into
SixLabors:mainfrom
winscripter:qoi-refactor
Open

winscripter wants to merge 1 commit into
SixLabors:mainfrom
winscripter:qoi-refactor

Conversation

@winscripter

Copy link
Copy Markdown

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 👮.
  • I have provided test coverage for my change (where applicable)

Description

This PR makes one small cleanup which removes this line in QoiDecoderCore Identify method:

PixelTypeInfo pixelType = new(8 * (int)this.header.Channels);

This variable was declared, but was never used in the Identify method, which triggers IDE0059.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant