diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-12-03 05:22:47 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-12-03 05:22:47 +0000 |
commit | a21898cf696cba9a38a43e43b5dc7aac341c5ba9 (patch) | |
tree | 50841cdf92109cc605218a2605af7786e56e8651 /epan/dissectors | |
parent | 203ecca6da52b324c4481b2c334d8b705a66bac3 (diff) |
- copy paste error in parlay
- Add pragmas to remove warnings, this should go into the generation script.
svn path=/trunk/; revision=53740
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-coseventcomm.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-cosnaming.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-parlay.c | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/epan/dissectors/packet-coseventcomm.c b/epan/dissectors/packet-coseventcomm.c index c784ea766d..4372624260 100644 --- a/epan/dissectors/packet-coseventcomm.c +++ b/epan/dissectors/packet-coseventcomm.c @@ -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_coseventcomm = -1; diff --git a/epan/dissectors/packet-cosnaming.c b/epan/dissectors/packet-cosnaming.c index 8217f5edeb..b9852aba7d 100644 --- a/epan/dissectors/packet-cosnaming.c +++ b/epan/dissectors/packet-cosnaming.c @@ -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_cosnaming = -1; diff --git a/epan/dissectors/packet-parlay.c b/epan/dissectors/packet-parlay.c index 8e7513bf58..a361158bdf 100644 --- a/epan/dissectors/packet-parlay.c +++ b/epan/dissectors/packet-parlay.c @@ -50,7 +50,7 @@ #if defined(__GNUC__) #pragma GCC diagnostic ignored "-Wunused-function" -#pragma GCC diagnostic ignored "-Wunused-function" +#pragma GCC diagnostic ignored "-Wunused-variable" #endif /* Initialise the protocol and subtree pointers */ static int proto_parlay = -1; |