mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove compile warnings Linux
This commit is contained in:
parent
a8d1dfa329
commit
4b39ba4508
@ -370,15 +370,15 @@ cvf::Vec3d RivGridBoxGenerator::displayModelCoordFromDomainCoord(const cvf::Vec3
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RivGridBoxGenerator::createLegend(EdgeType edge, cvf::Collection<cvf::Part>* parts)
|
||||
{
|
||||
cvf::Vec3d posMin;
|
||||
cvf::Vec3d posMax;
|
||||
cvf::Vec3d posMin = cvf::Vec3d::ZERO;
|
||||
cvf::Vec3d posMax = cvf::Vec3d::ZERO;
|
||||
|
||||
cvf::Vec3d min = m_displayCoordsBoundingBox.min();
|
||||
cvf::Vec3d max = m_displayCoordsBoundingBox.max();
|
||||
|
||||
AxisType axis;
|
||||
AxisType axis = X_AXIS;
|
||||
|
||||
cvf::Vec3f tickMarkDir;
|
||||
cvf::Vec3f tickMarkDir = cvf::Vec3f::X_AXIS;
|
||||
|
||||
switch (edge)
|
||||
{
|
||||
@ -455,6 +455,7 @@ void RivGridBoxGenerator::createLegend(EdgeType edge, cvf::Collection<cvf::Part>
|
||||
tickMarkDir = cornerDirection(NEG_X, NEG_Y);
|
||||
break;
|
||||
default:
|
||||
CVF_TIGHT_ASSERT(false);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user