1
0
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:
dcb 2013-05-02 16:11:46 +08:00 committed by Daniel Veillard
parent 960f0e2756
commit 10ec19ab0a

View File

@ -2683,6 +2683,7 @@ libxml_last(ATTRIBUTE_UNUSED PyObject * self, PyObject * args)
xmlAttrPtr attr = (xmlAttrPtr) cur;
res = attr->last;
break;
}
default:
res = NULL;