Skip to content

Commit fb37bbe

Browse files
committed
fix: remove unnecessary null checks
1 parent c5d3bbe commit fb37bbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/extension.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Extension {
4242
}
4343

4444
var value = ExtensionValue.fromAsn1(
45-
ASN1Parser(sequence.elements[octetIndex].contentBytes()!).nextObject(),
45+
ASN1Parser(sequence.elements[octetIndex].contentBytes()).nextObject(),
4646
id,
4747
);
4848
if (value is UnknownExtension && critical) {

0 commit comments

Comments
 (0)