Add pragmas to remove warnings, this should go into the generation script.

svn path=/trunk/; revision=53730
This commit is contained in:
Anders Broman 2013-12-02 20:18:48 +00:00
parent fb289aedf6
commit c0407d6bc5
2 changed files with 8 additions and 1 deletions

View File

@ -48,7 +48,10 @@
#pragma warning(disable:4101)
#endif
#if defined(__GNUC__)
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wunused-function”
#endif
/* Initialise the protocol and subtree pointers */
static int proto_parlay = -1;
static gint ett_parlay = -1;

View File

@ -48,6 +48,10 @@
#pragma warning(disable:4101)
#endif
#if defined(__GNUC__)
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wunused-variable”
#endif
/* Initialise the protocol and subtree pointers */
static int proto_tango = -1;