mirror of
https://github.com/gosticks/RIOT.git
synced 2026-10-04 06:47:06 +00:00
cppcheck: Provide consistent reason formatting for all cppcheck-suppresses
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user