This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
shared.xs: remove dead code
authorDavid Mitchell <davem@iabyn.com>
Tue, 24 Nov 2015 12:56:18 +0000 (12:56 +0000)
committerDavid Mitchell <davem@iabyn.com>
Tue, 24 Nov 2015 12:56:18 +0000 (12:56 +0000)
commit5fa8ae49d7be89da729f5ba1d985d9ef25aefcbd
treeae731099b904f846d7949360a89a4c3fa3524bd8
parentb5134c56ad069262bdb18e74fa3a6e020de17558
shared.xs: remove dead code

Since v5.23.4-26-g0b057af made static a bunch a functions not used
outside their own src files, gcc has been complaining:

    shared.xs:1172:1: warning: ‘Perl_sharedsv_unlock’ defined but not used [-Wunused-function]
     Perl_sharedsv_unlock(pTHX_ SV *ssv)

So "delete" this function using '#if 0'
dist/threads-shared/lib/threads/shared.pm
dist/threads-shared/shared.xs