mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-09 23:16:00 -06:00
Initialize pointer to nullptr
This commit is contained in:
parent
609bf4037b
commit
56312a4883
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user