mirror of
https://github.com/DarthAffe/StableDiffusion.NET.git
synced 2025-12-12 21:38:45 +00:00
Removed unneccessary null-forgiving operator
This commit is contained in:
parent
c6f99d080d
commit
55a8d3f261
@ -223,7 +223,7 @@ public sealed unsafe class StableDiffusionModel : IDisposable
|
||||
parameter.Validate();
|
||||
|
||||
Native.sd_image_t* result;
|
||||
if (parameter!.ControlNet.IsEnabled)
|
||||
if (parameter.ControlNet.IsEnabled)
|
||||
{
|
||||
fixed (byte* imagePtr = parameter.ControlNet.Image)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user