This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Perl_magic_set(): remove unused var 's'
authorDavid Mitchell <davem@iabyn.com>
Tue, 1 Dec 2015 15:28:37 +0000 (15:28 +0000)
committerDavid Mitchell <davem@iabyn.com>
Tue, 1 Dec 2015 16:01:49 +0000 (16:01 +0000)
commita9e2d2bf108c854f14f15556d0be30d9635bcde7
tree50410820358aa75af15e7e80c56628f56e1ffded
parent50006c82290de7fc1fd3bbb5e4d893723659dd82
Perl_magic_set(): remove unused var 's'

This var is (mostly) unused, but is set in a couple of places, hence:

    mg.c:2657:17: warning: variable ā€˜sā€™ set but not used

In the one place it is used, declare it in a narrower scope.
mg.c