modify_SV_attributes(pTHX_ SV *sv, SV **retlist, SV **attrlist, int numattrs)
{
SV *attr;
- char *name;
- STRLEN len;
- bool negated;
int nret;
for (nret = 0 ; numattrs && (attr = *attrlist++); numattrs--) {
- name = SvPV(attr, len);
- if ((negated = (*name == '-'))) {
+ STRLEN len;
+ const char *name = SvPV(attr, len);
+ const bool negated = (*name == '-');
+
+ if (negated) {
name++;
len--;
}
XSRETURN(1);
}
+/*
+ * Local variables:
+ * c-indentation-style: bsd
+ * c-basic-offset: 4
+ * indent-tabs-mode: t
+ * End:
+ *
+ * ex: set ts=8 sts=4 sw=4 noet:
+ */