PVS: V522 There might be dereferencing of a potential null pointer

This commit is contained in:
wmayer
2020-07-17 11:01:14 +02:00
parent e005972466
commit 1ae38aea04
15 changed files with 78 additions and 87 deletions

View File

@@ -100,8 +100,8 @@ void DrawWeldSymbol::onSettingDocument()
DrawTileWeld* tile2 = dynamic_cast<DrawTileWeld*>(tile2Obj);
if (tile2 != nullptr) {
tile2->TileParent.setValue(this);
tile2->TileRow.setValue(-1); //other side is row -1
}
tile2->TileRow.setValue(-1); //other side is row -1
DrawView::onSettingDocument();
}