From 01673f31cb21bd94e8f80e6ee43fe6bead6dd337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Tue, 11 Sep 2018 08:36:00 +0200 Subject: [PATCH] Remove uninitialized variable used compiler warning --- ApplicationCode/ReservoirDataModel/RigMainGrid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCode/ReservoirDataModel/RigMainGrid.cpp b/ApplicationCode/ReservoirDataModel/RigMainGrid.cpp index 2ef59e14f4..671c7832ed 100644 --- a/ApplicationCode/ReservoirDataModel/RigMainGrid.cpp +++ b/ApplicationCode/ReservoirDataModel/RigMainGrid.cpp @@ -350,7 +350,7 @@ void RigMainGrid::calculateFaults(const RigActiveCellInfo* activeCellInfo) size_t neighborReservoirCellIdx; size_t neighborGridCellIdx; - size_t i, j, k; + size_t i = 0, j = 0, k = 0; RigGridBase* hostGrid = nullptr; bool firstNO_FAULTFaceForCell = true; bool isCellActive = true;