mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-05 19:01:18 +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;
|
||||
|
||||
res = attr->last;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
res = NULL;
|
||||
|
Reference in New Issue
Block a user