Remove the name of some unused arguments

Remove some usage of the `UNUSED` macro. Remove only those cases where
the names can be deduced from their type.

https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rf-unused
This commit is contained in:
phosit
2025-06-04 08:10:15 +02:00
committed by phosit
parent 084b141ecc
commit d9795d29fe
93 changed files with 320 additions and 319 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
#include "js/friend/PerformanceHint.h"
#include "js/Modules.h"
void GCSliceCallbackHook(JSContext* UNUSED(cx), JS::GCProgress progress, const JS::GCDescription& UNUSED(desc))
void GCSliceCallbackHook(JSContext*, JS::GCProgress progress, const JS::GCDescription&)
{
/**
* From the GCAPI.h file: