summaryrefslogtreecommitdiff
path: root/xsutils.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-05 09:04:52 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-05 09:04:52 +0000
commit155aba94f677ac771761a1f510964fe5b21524ed (patch)
tree80d7d14e42ed27cbd9bafcea2c1f10a54bf150a3 /xsutils.c
parentb21babef0dc893282c08080aa99c4bd760e05204 (diff)
downloadperl-155aba94f677ac771761a1f510964fe5b21524ed.tar.gz
fixes for most warnings identified by gcc -Wall
p4raw-id: //depot/perl@5540
Diffstat (limited to 'xsutils.c')
-rw-r--r--xsutils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xsutils.c b/xsutils.c
index 0999f744a0..02fab51203 100644
--- a/xsutils.c
+++ b/xsutils.c
@@ -48,7 +48,7 @@ modify_SV_attributes(pTHXo_ SV *sv, SV **retlist, SV **attrlist, int numattrs)
for (nret = 0 ; numattrs && (attr = *attrlist++); numattrs--) {
name = SvPV(attr, len);
- if (negated = (*name == '-')) {
+ if ((negated = (*name == '-'))) {
name++;
len--;
}
@@ -271,7 +271,6 @@ usage:
XS(XS_attributes__warn_reserved)
{
dXSARGS;
- SV *rv, *sv;
#ifdef dXSTARGET
dXSTARGET;
#else