mirror of
https://github.com/gosticks/RIOT.git
synced 2026-10-04 06:47:06 +00:00
cppcheck: add/correct reason for cppcheck-suppress
Adding and correcting description/rational on why certain cppcheck warnings or errors are intentionally suppressed.
This commit is contained in:
@@ -53,7 +53,7 @@ int main() {
|
||||
{
|
||||
lock_guard<mutex> lk(m);
|
||||
/* cppcheck-suppress unreadVariable
|
||||
* (reason variable is read in the thread created above) */
|
||||
* (reason: variable is read in the thread created above) */
|
||||
ready = true;
|
||||
cv.notify_one();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user