diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-06-18 08:52:17 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-06-18 14:14:27 -0400 |
commit | ffb6256b1100a793924bee58c67d32d3e2643b59 (patch) | |
tree | 6b87d32b8459a5183c399edccd5d780ef5f17755 | |
parent | b679cac092b8bd45dca623880f5a2032cf26353f (diff) | |
download | perl-ffb6256b1100a793924bee58c67d32d3e2643b59.tar.gz |
With this we are g++ -Wunused-* clean.
-rw-r--r-- | mg.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1363,6 +1363,12 @@ Perl_csighandler(int sig) #else dTHX; #endif +#if defined(__cplusplus) && defined(__GNUC__) + /* g++ doesn't support PERL_UNUSED_DECL, so the sip and uap + * parameters would be warned about. */ + PERL_UNUSED_ARG(sip); + PERL_UNUSED_ARG(uap); +#endif #ifdef FAKE_PERSISTENT_SIGNAL_HANDLERS (void) rsignal(sig, PL_csighandlerp); if (PL_sig_ignoring[sig]) return; |