arduino / ArduinoCore-sam

80 stars 107 forks source link

Prevent unused parameter warning #120

Closed Pharap closed 3 years ago

Pharap commented 3 years ago

While testing something unrelated (I don't actually own a SAM board) I noticed the compiler was generating a warning:

syscalls_sam3.c:133:24: warning: unused parameter 'status' [-Wunused-parameter]

So I thought I'd submit a PR to fix the issue. By the looks of the commented-out printf, it seems that not marking status as UNUSED after commenting out the printf was probably just an oversight.

CLAassistant commented 3 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Pharap commented 3 years ago

Do I really have to authorise CLAassistant just to submit such a tiny commit?