mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
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.
This commit is contained in:
parent
5598f63d0f
commit
5f7f063919
Notes:
sideshowbarker
2024-07-18 10:06:44 +09:00
Author: https://github.com/BertalanD
Commit: 5f7f063919
Pull-request: https://github.com/SerenityOS/serenity/pull/8470
Reviewed-by: https://github.com/Dexesttp
Reviewed-by: https://github.com/Hendiadyoin1
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/gunnarbeutner ✅
4 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue