summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/portmap-xdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/xdr/src/portmap-xdr.c')
-rw-r--r--rpc/xdr/src/portmap-xdr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/rpc/xdr/src/portmap-xdr.c b/rpc/xdr/src/portmap-xdr.c
index 0ef580d8093..7033213c0bd 100644
--- a/rpc/xdr/src/portmap-xdr.c
+++ b/rpc/xdr/src/portmap-xdr.c
@@ -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.