Cppcheck warning.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2020-01-06 20:10:48 +02:00
parent 1abff6b62c
commit 7af7adceab

View File

@ -108,7 +108,6 @@ QVector<quint32> SaveToolOptions::Missing(const QList<quint32> &list1, const QLi
bool SaveToolOptions::mergeWith(const QUndoCommand *command) bool SaveToolOptions::mergeWith(const QUndoCommand *command)
{ {
const SaveToolOptions *saveCommand = static_cast<const SaveToolOptions *>(command); const SaveToolOptions *saveCommand = static_cast<const SaveToolOptions *>(command);
SCASSERT(saveCommand != nullptr)
if (saveCommand->getToolId() != nodeId) if (saveCommand->getToolId() != nodeId)
{ {