diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2021-07-05 18:08:48 +0200 |
---|---|---|
committer | Gunnar Beutner <gunnar@beutner.name> | 2021-07-08 10:11:00 +0200 |
commit | 5f7f063919cfdbe0fd6fd47bf5657b1394b2250e (patch) | |
tree | f5ba464b5a653e335bb339e5f0d3a28aad30a286 /Userland/Libraries | |
parent | 5598f63d0fbe9784f4b0a8af16a71a252c9c386a (diff) | |
download | serenity-5f7f063919cfdbe0fd6fd47bf5657b1394b2250e.zip |
Everywhere: Mark debug-only functions `[[maybe_unused]]`
These functions are only used from within `dbgln_if` calls, so in
certain build configurations, they go unused. Similarly to variables, we
now signal to the compiler that we understand that these are not always
in use.
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp index fb16b3383f..d9da8fb676 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp @@ -17,7 +17,7 @@ namespace Web::SVG { -static void print_instruction(const PathInstruction& instruction) +[[maybe_unused]] static void print_instruction(const PathInstruction& instruction) { VERIFY(PATH_DEBUG); |