diff --git a/Userland/Libraries/LibTLS/Certificate.cpp b/Userland/Libraries/LibTLS/Certificate.cpp index f87150defd..e93474fe82 100644 --- a/Userland/Libraries/LibTLS/Certificate.cpp +++ b/Userland/Libraries/LibTLS/Certificate.cpp @@ -850,13 +850,11 @@ ErrorOr Certificate::parse_certificate(ReadonlyBytes buffer, bool) ErrorOr RelativeDistinguishedName::to_string() { -#define ADD_IF_RECOGNIZED(identifier, shorthand_code) \ - do { \ - if (it->key == identifier) { \ - cert_name.appendff("\\{}={}", shorthand_code, it->value); \ - continue; \ - } \ - } while (0); +#define ADD_IF_RECOGNIZED(identifier, shorthand_code) \ + if (it->key == identifier) { \ + cert_name.appendff("\\{}={}", shorthand_code, it->value); \ + continue; \ + } StringBuilder cert_name;