kopia lustrzana https://github.com/Hamlib/Hamlib
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-79ac388436b8Hamlib-1.2.13
rodzic
71ac8d168f
commit
fbb353503a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue