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:
smlng
2018-09-25 12:03:58 +02:00
parent c3cc0101ab
commit 59e299635b
15 changed files with 23 additions and 21 deletions
+1 -1
View File
@@ -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();
}