From 87031df0f72a74178da755944467615114774fd9 Mon Sep 17 00:00:00 2001 From: Henrik Stolzmann <henrik.stolzmann@mailbox.tu-dresden.de> Date: Tue, 16 Apr 2019 20:51:15 +0200 Subject: [PATCH] Fixed warning: "unused-function" caused by "CheckLocalElementKeys" Deleted the definition of "CheckLocalElementKeys" for the case ```` !(MGIO_DEBUG>0) ```` because all uses in this file are contained in a preprocessor if condtion ensuring that ```` MGIO>0 ```` --- gm/ugio.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gm/ugio.cc b/gm/ugio.cc index 4d375143e..03052a334 100644 --- a/gm/ugio.cc +++ b/gm/ugio.cc @@ -2310,11 +2310,6 @@ static INT CheckLocalElementKeys (ELEMENT *theElement, MGIO_REFINEMENT *ref, INT return (0); } -#else -static INT CheckLocalElementKeys (ELEMENT *el, MGIO_REFINEMENT *ref, INT must_exist) -{ - return (0); -} #endif -- GitLab