arduino / ArduinoCore-API

Hardware independent layer of the Arduino cores defining the official API
https://www.arduino.cc/reference/en/
GNU Lesser General Public License v2.1
202 stars 118 forks source link

Fix #217 when compiling with newer compiler versions #224

Closed jboynes closed 11 months ago

jboynes commented 11 months ago

other.data will never be null, triggering a compilation error with the test cases on GCC-13 or CLang 15.0.0

codecov-commenter commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c486627) 95.53% compared to head (8ffd335) 95.53%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #224 +/- ## ======================================= Coverage 95.53% 95.53% ======================================= Files 16 16 Lines 1075 1075 ======================================= Hits 1027 1027 Misses 48 48 ``` | [Files](https://app.codecov.io/gh/arduino/ArduinoCore-API/pull/224?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=arduino) | Coverage Δ | | |---|---|---| | [api/CanMsg.h](https://app.codecov.io/gh/arduino/ArduinoCore-API/pull/224?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=arduino#diff-YXBpL0Nhbk1zZy5o) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.