mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 09:06:49 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user