From 852f3b641f5adf3179fc85cccba9ec1a975ae221 Mon Sep 17 00:00:00 2001 From: Weiqun Zhang Date: Fri, 7 Jul 2023 15:03:29 -0700 Subject: [PATCH] Fix a warning --- Src/Base/AMReX_VisMF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Base/AMReX_VisMF.cpp b/Src/Base/AMReX_VisMF.cpp index 8e5ccb33807..a109a09b04e 100644 --- a/Src/Base/AMReX_VisMF.cpp +++ b/Src/Base/AMReX_VisMF.cpp @@ -1860,7 +1860,7 @@ VisMF::Read (FabArray &mf, int doneTag(ParallelDescriptor::SeqNum()); if(myProc == coordinatorProc) { // manage the file locks - int reqsPending(0), iopFileIndex; + int reqsPending(0), iopFileIndex(0); std::deque iopReads; MPI_Status status; int doneFlag;