Skip to content

Commit

Permalink
cppcheck: Try and use the correct suppression
Browse files Browse the repository at this point in the history
(cherry picked from commit 68e4660)
  • Loading branch information
mark-kendall committed Mar 8, 2020
1 parent 82442cb commit e9e928b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythbase/mythdeque.h
Expand Up @@ -72,7 +72,7 @@ class MythDeque : public deque<T>
}

/// \brief Returns true if item is in list. O(n).
// cppcheck-suppress constVariable
// cppcheck-suppress constParameter
bool contains(T const &item) const
{ return find(item) != deque<T>::end(); }

Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/HLS/m3u.cpp
Expand Up @@ -275,7 +275,7 @@ namespace M3U
return true;
}

// cppcheck-suppress constVariable
// cppcheck-suppress constParameter
bool ParseKey(int version, const QString& line, bool& aesmsg,
const QString& loc, QString &path, QString &iv)
{
Expand Down

0 comments on commit e9e928b

Please sign in to comment.