From 617c5362c1a492a5f4c185ec6b1048abfd94d155 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Tue, 24 May 2022 11:37:33 +0100 Subject: [PATCH] fix: fixed warning: missing return statement at end of non-void function in CloverHelpers --- Grid/qcd/action/fermion/CloverHelpers.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Grid/qcd/action/fermion/CloverHelpers.h b/Grid/qcd/action/fermion/CloverHelpers.h index c72a79e8..57e71998 100644 --- a/Grid/qcd/action/fermion/CloverHelpers.h +++ b/Grid/qcd/action/fermion/CloverHelpers.h @@ -181,6 +181,7 @@ public: static GaugeLinkField Cmunu(std::vector &U, GaugeLinkField &lambda, int mu, int nu) { assert(0); + return lambda; } }; @@ -425,6 +426,7 @@ public: static GaugeLinkField Cmunu(std::vector &U, GaugeLinkField &lambda, int mu, int nu) { assert(0); + return lambda; } };