From 51bb40ce3dd8c12374488ad841e1444c663f14ff Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Thu, 25 Aug 2022 00:12:56 +0100 Subject: [PATCH] mappedPatchBaseTemplates: Added dummy return to avoid compiler warnings --- .../mappedPatches/mappedPolyPatch/mappedPatchBaseTemplates.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBaseTemplates.C b/src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBaseTemplates.C index a66e81a680..011f3fe178 100644 --- a/src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBaseTemplates.C +++ b/src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBaseTemplates.C @@ -98,6 +98,8 @@ Foam::mappedPatchBase::reverseDistribute(const Field& fld) const << sampleModeNames_[NEARESTPATCHFACE] << " or " << sampleModeNames_[NEARESTPATCHFACEAMI] << "mode" << exit(FatalError); + + return tmp>(nullptr); } } }