From 8ba26b99356f6bf16a5ab78ed9cdee608339cfc0 Mon Sep 17 00:00:00 2001 From: Stefan Nikolei Date: Sun, 1 Jan 2023 11:46:45 +0100 Subject: [PATCH] Remove nullable disable from CloningImageProcessor --- .../Processing/Processors/CloningImageProcessor{TPixel}.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ImageSharp/Processing/Processors/CloningImageProcessor{TPixel}.cs b/src/ImageSharp/Processing/Processors/CloningImageProcessor{TPixel}.cs index 1cf8f35795..aa000a10e7 100644 --- a/src/ImageSharp/Processing/Processors/CloningImageProcessor{TPixel}.cs +++ b/src/ImageSharp/Processing/Processors/CloningImageProcessor{TPixel}.cs @@ -1,6 +1,5 @@ // Copyright (c) Six Labors. // Licensed under the Six Labors Split License. -#nullable disable using SixLabors.ImageSharp.PixelFormats; @@ -73,7 +72,7 @@ public abstract class CloningImageProcessor : ICloningImageProcessor clone = default; + Image? clone = default; try { clone = ((ICloningImageProcessor)this).CloneAndExecute();