mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-15 00:23:56 +01:00
b196a4a9c5
A bunch of functions have parameters they do not use, but which cannot be removed for API compatibility. In syscalls_sam3.c, there are a lot of these, so this adds an "UNUSED" macro which adds the "unused" variable attribute if supported (GCC specific), or is just a noop on other compilers. In CDC.cpp, there's only three of these variables, so this commit just forces a dummy evaluation of them to suppress the warnings. This helps towards #1792. |
||
---|---|---|
.. | ||
arduino |