source warnings cleanup: rpcgen-generated code

Quell 124 unused variable warnings from the rpcgen-generated code
in rpcrig and rpcrot



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3062 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.13
Kamal Mostafa, KA6MAL 2011-02-27 21:19:47 +00:00
rodzic 71ac8d168f
commit fbb353503a
2 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

@ -20,6 +20,11 @@
% *
% */
% #if (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) || 4 < __GNUC__
% /* rpcgen produces code containing unused variables. hush that... */
% # pragma GCC diagnostic ignored "-Wunused-variable"
% #endif
/* This gets stuffed into the source files. */
#if RPC_HDR
%#ifdef HAVE_CONFIG_H

Wyświetl plik

@ -21,6 +21,11 @@
% *
% */
% #if (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) || 4 < __GNUC__
% /* rpcgen produces code containing unused variables. hush that... */
% # pragma GCC diagnostic ignored "-Wunused-variable"
% #endif
/* This gets stuffed into the source files. */
#if RPC_HDR
%#ifdef HAVE_CONFIG_H