mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-02 22:29:10 +00:00
Everywhere: Remove sv
suffix from format string literals
This prevents the compile-time checks that would catch errors in the format invocation (which would usually lead to a runtime crash).
This commit is contained in:
parent
917537b449
commit
f070264800
Notes:
github-actions[bot]
2025-04-09 00:01:12 +00:00
Author: https://github.com/trflynn89
Commit: f070264800
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4286
28 changed files with 51 additions and 51 deletions
|
@ -51,7 +51,7 @@ static ErrorOr<AlgorithmIdentifier> parse_algorithm_identifier(ASN1::Decoder& de
|
|||
// algorithm ALGORITHM.&id({SupportedAlgorithms}),
|
||||
// parameters ALGORITHM.&Type({SupportedAlgorithms}{@algorithm}) OPTIONAL,
|
||||
// ... }
|
||||
ENTER_TYPED_SCOPE(Sequence, "AlgorithmIdentifier"sv);
|
||||
ENTER_TYPED_SCOPE(Sequence, "AlgorithmIdentifier");
|
||||
PUSH_SCOPE("algorithm"sv);
|
||||
READ_OBJECT(ObjectIdentifier, Vector<int>, algorithm);
|
||||
POP_SCOPE();
|
||||
|
@ -192,7 +192,7 @@ ErrorOr<SubjectPublicKey> parse_subject_public_key_info(ASN1::Decoder& decoder,
|
|||
// }
|
||||
|
||||
SubjectPublicKey public_key;
|
||||
ENTER_TYPED_SCOPE(Sequence, "SubjectPublicKeyInfo"sv);
|
||||
ENTER_TYPED_SCOPE(Sequence, "SubjectPublicKeyInfo");
|
||||
|
||||
public_key.algorithm = TRY(parse_algorithm_identifier(decoder, current_scope));
|
||||
|
||||
|
@ -258,7 +258,7 @@ ErrorOr<PrivateKey> parse_private_key_info(ASN1::Decoder& decoder, Vector<String
|
|||
// }
|
||||
|
||||
PrivateKey private_key;
|
||||
ENTER_TYPED_SCOPE(Sequence, "PrivateKeyInfo"sv);
|
||||
ENTER_TYPED_SCOPE(Sequence, "PrivateKeyInfo");
|
||||
|
||||
READ_OBJECT(Integer, Crypto::UnsignedBigInteger, version);
|
||||
if (version != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue