Skip to content

Commit 37f5cc5

Browse files
Merge pull request #2347 from stefannikolei/sn/nullable/format_pbm
remove nullable disable from Format Pbm
2 parents fff41c9 + 224aa40 commit 37f5cc5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ImageSharp/Formats/Pbm/PbmDecoderCore.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Copyright (c) Six Labors.
22
// Licensed under the Six Labors Split License.
3-
#nullable disable
43

54
using SixLabors.ImageSharp.IO;
65
using SixLabors.ImageSharp.Memory;
@@ -45,7 +44,7 @@ internal sealed class PbmDecoderCore : IImageDecoderInternals
4544
/// <summary>
4645
/// The <see cref="ImageMetadata"/> decoded by this decoder instance.
4746
/// </summary>
48-
private ImageMetadata metadata;
47+
private ImageMetadata? metadata;
4948

5049
/// <summary>
5150
/// Initializes a new instance of the <see cref="PbmDecoderCore" /> class.

0 commit comments

Comments
 (0)