From 5c6e283b35e1f48f6a68aeabccb252050c31d9fb Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Fri, 3 Aug 2018 12:07:14 +0100 Subject: [PATCH] Pair: Include an unused return to avoid compiler warning --- src/OpenFOAM/primitives/Pair/Pair.H | 1 + 1 file changed, 1 insertion(+) diff --git a/src/OpenFOAM/primitives/Pair/Pair.H b/src/OpenFOAM/primitives/Pair/Pair.H index 9b5944b52..d050b6d75 100644 --- a/src/OpenFOAM/primitives/Pair/Pair.H +++ b/src/OpenFOAM/primitives/Pair/Pair.H @@ -116,6 +116,7 @@ public: FatalErrorInFunction << "Call to other only valid for Pair with differing" << " elements:" << *this << abort(FatalError); + return first(); } else if (first() == a) {