From 7af7adceab07fbf55bda05bcf8aefcb8ef3355f5 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 6 Jan 2020 20:10:48 +0200 Subject: [PATCH] Cppcheck warning. --HG-- branch : release --- src/libs/vtools/undocommands/savetooloptions.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libs/vtools/undocommands/savetooloptions.cpp b/src/libs/vtools/undocommands/savetooloptions.cpp index 3b7e11046..75d7acffa 100644 --- a/src/libs/vtools/undocommands/savetooloptions.cpp +++ b/src/libs/vtools/undocommands/savetooloptions.cpp @@ -108,7 +108,6 @@ QVector SaveToolOptions::Missing(const QList &list1, const QLi bool SaveToolOptions::mergeWith(const QUndoCommand *command) { const SaveToolOptions *saveCommand = static_cast(command); - SCASSERT(saveCommand != nullptr) if (saveCommand->getToolId() != nodeId) {