aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-parlay.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-12-02 20:18:48 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-12-02 20:18:48 +0000
commitc0407d6bc5e1caa60a7e195633c702fb1284b549 (patch)
tree17e5211a7f9d20f7d43ef5d4680a56307e2be5b8 /epan/dissectors/packet-parlay.c
parentfb289aedf6c2eb97873bab42dc064f41cadf5ff8 (diff)
Add pragmas to remove warnings, this should go into the generation script.
svn path=/trunk/; revision=53730
Diffstat (limited to 'epan/dissectors/packet-parlay.c')
-rw-r--r--epan/dissectors/packet-parlay.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-parlay.c b/epan/dissectors/packet-parlay.c
index 8c5c5217ee..c3e42fcfb3 100644
--- a/epan/dissectors/packet-parlay.c
+++ b/epan/dissectors/packet-parlay.c
@@ -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;