From 6cf59b6ae96aeeb8c0da957a07f913c4fa38467f Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 1 May 2021 21:10:08 +0200 Subject: Everywhere: Turn #if *_DEBUG into dbgln_if/if constexpr --- Userland/Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Userland/Libraries/LibCrypto/NumberTheory') diff --git a/Userland/Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp b/Userland/Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp index 77db745566..71b372fbb0 100644 --- a/Userland/Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp +++ b/Userland/Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp @@ -208,9 +208,7 @@ UnsignedBigInteger LCM(const UnsignedBigInteger& a, const UnsignedBigInteger& b) GCD_without_allocation(a, b, temp_a, temp_b, temp_1, temp_2, temp_3, temp_4, temp_quotient, temp_remainder, gcd_output); if (gcd_output == 0) { -#if NT_DEBUG - dbgln("GCD is zero"); -#endif + dbgln_if(NT_DEBUG, "GCD is zero"); return output; } -- cgit v1.2.3