For years, the rpcgen generated code causes a number of -Wunused-variable. Taking a closer look at rpcgen , it turns out these warnings were caused by rpcgen trying inline the code. Inlining is a technique that allows xdr routines to run faster and more efficiently. It turns out only one routine, xdr_ppathcnf(), was taking advantage of this technique. So by turning off rpcgen inline the warnings are eliminated with no lost of speed or efficiency The patch also eliminates a -Wmissing-prototypes by a hack to the nsm/Makefile.am. Steve Dickson (1): Remove warnings from rpcgen genrated files support/export/Makefile.am | 2 +- support/nsm/Makefile.am | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) -- 2.14.3 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html