From: Holger Schemel Date: Sun, 7 Oct 2018 13:30:55 +0000 (+0200) Subject: fixed compiler warning when building without DEBUG symbol X-Git-Tag: 4.1.1.0~1 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=994be6896c03e8dd2d959463c0e3374b1016919d fixed compiler warning when building without DEBUG symbol --- 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) {