mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-25 23:21:26 +03:00
Fix missing break on last() function for attributes
pointed out by cppcheck
This commit is contained in:
parent
960f0e2756
commit
10ec19ab0a
@ -2683,6 +2683,7 @@ libxml_last(ATTRIBUTE_UNUSED PyObject * self, PyObject * args)
|
||||
xmlAttrPtr attr = (xmlAttrPtr) cur;
|
||||
|
||||
res = attr->last;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
res = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user