mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
Fix missing break on last() function for attributes
pointed out by cppcheck
This commit is contained in:
@ -2683,6 +2683,7 @@ libxml_last(ATTRIBUTE_UNUSED PyObject * self, PyObject * args)
|
|||||||
xmlAttrPtr attr = (xmlAttrPtr) cur;
|
xmlAttrPtr attr = (xmlAttrPtr) cur;
|
||||||
|
|
||||||
res = attr->last;
|
res = attr->last;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
res = NULL;
|
res = NULL;
|
||||||
|
Reference in New Issue
Block a user