diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-12-03 13:37:31 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-12-03 13:37:31 +0000 |
commit | 76db825c84612981b93c153e51773a735869dca6 (patch) | |
tree | 5dd663e253c83161ac893fa9728e4d4328bc3d0e /tools/wireshark_gen.py | |
parent | 30d0d8ff51343348ac0efa349b56edc3301e6c37 (diff) |
Add #pragma to idl generator...
svn path=/trunk/; revision=53746
Diffstat (limited to 'tools/wireshark_gen.py')
-rwxr-xr-x | tools/wireshark_gen.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/wireshark_gen.py b/tools/wireshark_gen.py index 4429a93b4b..3d390870b4 100755 --- a/tools/wireshark_gen.py +++ b/tools/wireshark_gen.py @@ -2395,7 +2395,11 @@ for (i_@aname@=0; i_@aname@ < @aval@; i_@aname@++) { /* disable warning: "unreference local variable" */ #pragma warning(disable:4101) #endif -""" + +#if defined(__GNUC__) +#pragma GCC diagnostic ignored "-Wunused-function" +#pragma GCC diagnostic ignored "-Wunused-variable" +#endif""" # |