From e248faa9bdf46da124866192e968f09aca08937b Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 28 May 2021 14:09:41 -0400 Subject: [PATCH] silence compiler warnings --- src/neighbor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neighbor.cpp b/src/neighbor.cpp index 9d94265002..5b4b1c4923 100644 --- a/src/neighbor.cpp +++ b/src/neighbor.cpp @@ -1793,7 +1793,7 @@ int Neighbor::choose_stencil(NeighRequest *rq) // convert newton request to newtflag = on or off - int newtflag; + int newtflag = 1; if (rq->newton == 0 && newton_pair) newtflag = 1; else if (rq->newton == 0 && !newton_pair) newtflag = 0; else if (rq->newton == 1) newtflag = 1;