ArduinoCore-avr
ArduinoCore-avr copied to clipboard
Mark unused parameters with [[gnu::unused]]
As of version 1.8.4, when compiling with warning level "all" in the IDE and arduino-cli, there are warnings about unused parameters in the implementation of operator new (cores/arduino/new.cpp).
This PR marks these parameters with [[gnu::unused]]
.
Fixes https://github.com/arduino/ArduinoCore-avr/issues/508