I am using platformio for a big project and i am checking it since a long time with cppcheck.
Since some days ago cppcheck is giving me wrong results (always a lot of errors of the unusedFunction kind).
example issue: https://github.com/lora-aprs/LoRa_APRS_iGate/runs/1671121401?check_suite_focus=true
this was the commit to the run: https://github.com/lora-aprs/LoRa_APRS_iGate/tree/29972a00a0b82c2fbd8650656016be136cec9814
ini file: https://github.com/lora-aprs/LoRa_APRS_iGate/blob/29972a00a0b82c2fbd8650656016be136cec9814/platformio.ini
and command which is running on github actions for cppcheck:
platformio check --fail-on-defect low --fail-on-defect medium --fail-on-defect high --skip-packages --flags "--suppress=*:*.pio\* --inline-suppr" -v
do you have any input on this? or is this a bug from platformio?