Cppcheck warning.

(grafted from 3469aa8b4edb138d68672a9b9350d7d6fb79053b)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2020-01-06 20:10:48 +02:00
parent 1f6285aef9
commit e301b3a91a

View File

@ -107,7 +107,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)
{ {