This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PerlIOScalar_eof(): silence compiler warning:
authorDavid Mitchell <davem@iabyn.com>
Thu, 22 Dec 2016 10:27:40 +0000 (10:27 +0000)
committerDavid Mitchell <davem@iabyn.com>
Thu, 22 Dec 2016 10:27:40 +0000 (10:27 +0000)
commit63e3d0406b23de6d9e115c85cd530f9238ccb539
tree38b8976f7b857f6be9363f06b6cbf29dc290d8b7
parent177251ba3a8a1fc1c7f43fe5db8b0d7ec6be5b11
PerlIOScalar_eof(): silence compiler warning:

    scalar.xs:23:15: warning: variable ā€˜pā€™ set but not used
    [-Wunused-but-set-variable]
         char *p;

I'm not sure why this has only started warning, but this commit shuts it
up anyway.
ext/PerlIO-scalar/scalar.xs