summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/portmap-xdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/xdr/src/portmap-xdr.h')
-rw-r--r--rpc/xdr/src/portmap-xdr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/rpc/xdr/src/portmap-xdr.h b/rpc/xdr/src/portmap-xdr.h
index 2096ef5d808..2686da287b4 100644
--- a/rpc/xdr/src/portmap-xdr.h
+++ b/rpc/xdr/src/portmap-xdr.h
@@ -20,6 +20,12 @@
#include "xdr-common.h"
#include "compat.h"
+#if defined(__GNUC__)
+#if __GNUC__ >= 4
+#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
+#endif
+#endif
+
/*
* Please do not edit this file.
* It was generated using rpcgen.