Skip to content

Commit bca1754

Browse files
committed
0 is not an unknown type
1 parent a6a281d commit bca1754

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

SabreTools.ASN1/TypeLengthValue.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,6 @@ public string Format(int paddingLevel = 0)
6767
// Create the left-padding string
6868
string padding = new(' ', paddingLevel);
6969

70-
// If we have an invalid item
71-
if (Type == 0)
72-
return $"{padding}UNKNOWN TYPE";
73-
7470
// Create the string builder
7571
var formatBuilder = new StringBuilder();
7672

0 commit comments

Comments
 (0)