mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-29 21:46:59 +03:00
Remove Unnecessary Null check in xpointer.c
For https://bugzilla.gnome.org/show_bug.cgi?id=738052 superfluous check
This commit is contained in:
parent
7e9bbdf82f
commit
a61929e8ca
@ -2461,8 +2461,6 @@ xmlXPtrMatchString(const xmlChar *string, xmlNodePtr start, int startindex,
|
||||
((*end)->type == XML_NAMESPACE_DECL) || (endindex == NULL))
|
||||
return(-1);
|
||||
cur = start;
|
||||
if (cur == NULL)
|
||||
return(-1);
|
||||
pos = startindex - 1;
|
||||
stringlen = xmlStrlen(string);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user