mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-10 14:07:35 +08:00
Upgrade and cleanup cppcheck suppressions to version 1.76.1
Also renamed the suppressions file to the standard name. refs #831
This commit is contained in:
committed by
Mathew Sutcliffe
parent
cad1eb4952
commit
e82d06849c
@@ -332,6 +332,7 @@ namespace BlackMisc
|
||||
class BLACKMISC_EXPORT CDataCacheRevision::Session
|
||||
{
|
||||
public:
|
||||
// cppcheck-suppress unusedFunction
|
||||
Session(const QString &filename) : m_filename(filename) {}
|
||||
void updateSession();
|
||||
const QUuid &uuid() const { return m_uuid; }
|
||||
|
||||
@@ -118,6 +118,7 @@ namespace BlackMisc
|
||||
return result;
|
||||
}
|
||||
#else
|
||||
// cppcheck-suppress unusedFunction
|
||||
QStringList getStackTrace()
|
||||
{
|
||||
return { "No stack trace on this platform" };
|
||||
|
||||
@@ -27,6 +27,7 @@ namespace BlackMisc
|
||||
{
|
||||
namespace Private
|
||||
{
|
||||
// cppcheck-suppress unusedFunction
|
||||
void failedVerify(const char *condition, const char *filename, int line, const char *context, const char *message)
|
||||
{
|
||||
Q_UNUSED(condition);
|
||||
|
||||
Reference in New Issue
Block a user