Use a gcc pragma to stop the (pages of) warnings coming out of
x11-extensions-implementation.h . This change was manually applied to the .h file as I can't currently rebuild the X11 dissector. svn path=/trunk/; revision=53298
This commit is contained in:
parent
78f8757560
commit
8893d3d960
|
@ -25,6 +25,8 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
|
||||
#include "x11-glx-render-enum.h"
|
||||
|
||||
static void mesa_CallList(tvbuff_t *tvb, int *offsetp, proto_tree *t, guint byte_order, int length _U_)
|
||||
|
|
|
@ -1383,6 +1383,7 @@ if (-e "$mesadir/gl_API.xml") {
|
|||
or die ("Cannot open x11-glx-render-enum.h for writing\n");
|
||||
add_generated_header($enum, 'mesa');
|
||||
print $enum "static const value_string mesa_enum[] = {\n";
|
||||
print $impl '#pragma GCC diagnostic ignored "-Wunused-but-set-variable"'."\n\n";
|
||||
print $impl '#include "x11-glx-render-enum.h"'."\n\n";
|
||||
|
||||
print("Mesa glRender:\n");
|
||||
|
|
Loading…
Reference in New Issue