From 994be6896c03e8dd2d959463c0e3374b1016919d Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 7 Oct 2018 15:30:55 +0200 Subject: [PATCH] fixed compiler warning when building without DEBUG symbol --- src/editor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/editor.c b/src/editor.c index 2a34d4c3..e2c9e90c 100644 --- a/src/editor.c +++ b/src/editor.c @@ -8308,6 +8308,7 @@ static void CopyElementPropertiesToGame(int element) CopyClassicElementPropertiesToGame(element); } +#if DEBUG static void CheckElementDescriptions(void) { int i; @@ -8317,6 +8318,7 @@ static void CheckElementDescriptions(void) Error(ERR_WARN, "no element description file for element '%s'", EL_NAME(i)); } +#endif static int getMaxEdFieldX(boolean has_scrollbar) { -- 2.34.1