From 2a72c5c8384d23cad054058ba0066ef5b163694e Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 3 Aug 2012 11:53:11 +0000 Subject: Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type. git-svn-id: http://mc-server.googlecode.com/svn/trunk@711 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Globals.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/Globals.h') 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) -- cgit v1.2.3