summaryrefslogtreecommitdiffstats
path: root/source/Globals.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-03 13:53:11 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-03 13:53:11 +0200
commit2a72c5c8384d23cad054058ba0066ef5b163694e (patch)
tree035c11a464a7e1a6c3ce3d5caf01ccdbd9e62aa7 /source/Globals.h
parentRemoved the DeNotcher project, as it's no longer needed and won't even compile (diff)
downloadcuberite-2a72c5c8384d23cad054058ba0066ef5b163694e.tar
cuberite-2a72c5c8384d23cad054058ba0066ef5b163694e.tar.gz
cuberite-2a72c5c8384d23cad054058ba0066ef5b163694e.tar.bz2
cuberite-2a72c5c8384d23cad054058ba0066ef5b163694e.tar.lz
cuberite-2a72c5c8384d23cad054058ba0066ef5b163694e.tar.xz
cuberite-2a72c5c8384d23cad054058ba0066ef5b163694e.tar.zst
cuberite-2a72c5c8384d23cad054058ba0066ef5b163694e.zip
Diffstat (limited to 'source/Globals.h')
-rw-r--r--source/Globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Globals.h b/source/Globals.h
index 65db1b436..12cdd8c94 100644
--- a/source/Globals.h
+++ b/source/Globals.h
@@ -80,6 +80,8 @@ typedef short Int16;
TypeName(const TypeName &); \
void operator=(const TypeName &)
+// A macro that is used to mark unused function parameters, to avoid pedantic warnings in gcc
+#define UNUSED(X) (void)(X)