mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
CppCheck : Fix various minor issues
This commit is contained in:
@@ -177,12 +177,7 @@ void RiuViewerCommands::displayContextMenu(QMouseEvent* event)
|
||||
|
||||
if (pickItemInfos.size())
|
||||
{
|
||||
cvf::Vec3d globalIntersectionPoint(cvf::Vec3d::ZERO);
|
||||
|
||||
if ( pickItemInfos.size() )
|
||||
{
|
||||
globalIntersectionPoint = pickItemInfos[0].globalPickedPoint();
|
||||
}
|
||||
cvf::Vec3d globalIntersectionPoint = pickItemInfos[0].globalPickedPoint();
|
||||
|
||||
for (const auto& pickItem : pickItemInfos)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user