DLTcollab / dcurl

Hardware-accelerated Multi-threaded IOTA PoW, drop-in replacement for ccurl
MIT License
41 stars 23 forks source link

Use --inline-suppr for cppcheck #215

Closed jserv closed 4 years ago

jserv commented 4 years ago

Currently, file cppcheck_suppress tracks the line number, which might cause potential problems for maintenance. According to Cppcheck manual, option --inline-suppr can enable inline suppressions. Use them by placing one or more comments, like: // cppcheck-suppress warningId on the lines before the warning to suppress.