mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 09:22:13 -05:00
Initialize pointer to nullptr
This commit is contained in:
1 parent
609bf4037b
commit
56312a4883
1 file changed
+1
-1
@@ -349,7 +349,7 @@ QString RiuResultTextBuilder::nncResultText()
|
||||
{
|
||||
size_t scalarResultIdx = m_reservoirView->currentFaultResultColors()->scalarResultIndex();
|
||||
RiaDefines::ResultCatType resultType = m_reservoirView->currentFaultResultColors()->resultType();
|
||||
const std::vector<double>* nncValues;
|
||||
const std::vector<double>* nncValues = nullptr;
|
||||
if (resultType == RiaDefines::STATIC_NATIVE)
|
||||
{
|
||||
nncValues = nncData->staticConnectionScalarResult(scalarResultIdx);
|
||||
|
||||
Reference in new issue
Block a user