This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix a few warnings (format strings, unused variable)
authorLukas Mai <l.mai@web.de>
Sat, 28 Sep 2013 22:12:44 +0000 (00:12 +0200)
committerTony Cook <tony@develop-help.com>
Wed, 20 Nov 2013 03:20:31 +0000 (14:20 +1100)
commit7b0eb0b818a1e6a78e2d2fc8de6c6aec637cf47f
tree7e02817e105ea5670d675787d571c6ef92d6f0d0
parent709aee9447f22f3f59d548d44298cca98a023f80
fix a few warnings (format strings, unused variable)

During compilation gcc complains about the following:

perl.c:4970: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'U32' [-Wformat=]
perl.c:5075: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'I32' [-Wformat=]
mg.c:1972: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'ssize_t' [-Wformat=]
pp_ctl.c:2610: warning: unused variable 'mark' [-Wunused-variable]
regexec.c:2275: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=]

This patch fixes all of them.

Tony: warning: unused variable 'mark' was fixed in 481c819b
mg.c
perl.c
regexec.c