projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b5c16a
)
fixed compiler warning when building without DEBUG symbol
author
Holger Schemel
<info@artsoft.org>
Sun, 7 Oct 2018 13:30:55 +0000
(15:30 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 7 Oct 2018 13:30:55 +0000
(15:30 +0200)
src/editor.c
patch
|
blob
|
history
diff --git
a/src/editor.c
b/src/editor.c
index 2a34d4c3bcb771e9a89cbaec654b0f2e598bca1d..e2c9e90c8ea599798020914b77f99d0a43604560 100644
(file)
--- 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)
{