cppcheck: Provide consistent reason formatting for all cppcheck-suppresses

This commit is contained in:
Lucas Jenss
2017-10-10 10:25:20 -07:00
parent 56513ea953
commit 6998ffbb14
13 changed files with 47 additions and 53 deletions
+2 -2
View File
@@ -52,8 +52,8 @@ int main() {
data = "Example data";
{
lock_guard<mutex> lk(m);
// reason: variable is read in the thread created above
/* cppcheck-suppress unreadVariable */
/* cppcheck-suppress unreadVariable
* (reason variable is read in the thread created above) */
ready = true;
cv.notify_one();
}