@@ -179,7 +179,7 @@ struct EngineClassRegistration {
179
179
// every line of the macro different
180
180
#define GDCLASS (m_class, m_inherits ) /* **********************************************************************************************************************************************/ \
181
181
private: \
182
- void operator =(const m_class &p_rval) {} \
182
+ void operator =(const m_class & /* p_rval*/ ) {} \
183
183
friend class ::godot::ClassDB; \
184
184
friend class ::godot::Wrapped; \
185
185
\
@@ -316,7 +316,7 @@ public:
316
316
return ::godot::internal::create_c_property_list (plist_cpp, r_count); \
317
317
} \
318
318
\
319
- static void free_property_list_bind (GDExtensionClassInstancePtr p_instance, const GDExtensionPropertyInfo *p_list, uint32_t p_count) { \
319
+ static void free_property_list_bind (GDExtensionClassInstancePtr p_instance, const GDExtensionPropertyInfo *p_list, uint32_t /* p_count*/ ) { \
320
320
if (p_instance) { \
321
321
m_class *cls = reinterpret_cast <m_class *>(p_instance); \
322
322
cls->plist_owned .clear (); \
@@ -373,22 +373,22 @@ public:
373
373
} \
374
374
} \
375
375
\
376
- static void free (void *data, GDExtensionClassInstancePtr ptr) { \
376
+ static void free (void * /* data*/ , GDExtensionClassInstancePtr ptr) { \
377
377
if (ptr) { \
378
378
m_class *cls = reinterpret_cast <m_class *>(ptr); \
379
379
cls->~m_class (); \
380
380
::godot::Memory::free_static (cls); \
381
381
} \
382
382
} \
383
383
\
384
- static void *_gde_binding_create_callback (void *p_token, void *p_instance) { \
384
+ static void *_gde_binding_create_callback (void * /* p_token*/ , void * /* p_instance*/ ) { \
385
385
return nullptr ; \
386
386
} \
387
387
\
388
- static void _gde_binding_free_callback (void *p_token, void *p_instance, void *p_binding) { \
388
+ static void _gde_binding_free_callback (void * /* p_token*/ , void * /* p_instance*/ , void * /* p_binding*/ ) { \
389
389
} \
390
390
\
391
- static GDExtensionBool _gde_binding_reference_callback (void *p_token, void *p_instance, GDExtensionBool p_reference) { \
391
+ static GDExtensionBool _gde_binding_reference_callback (void * /* p_token*/ , void * /* p_instance*/ , GDExtensionBool /* p_reference*/ ) { \
392
392
return true ; \
393
393
} \
394
394
\
0 commit comments