diff options
author | Gaurav Gupta <g.gupta@samsung.com> | 2014-10-07 12:28:34 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2014-10-07 12:28:34 +0800 |
commit | a61929e8cafcf42b407ae507ff185dee05d9e070 (patch) | |
tree | 14b64c69b2094e97ac5b9b314874b35af14d304f | |
parent | 7e9bbdf82f5ef65e2fdd4961ee4dbb62949e1f1f (diff) | |
download | libxml2-a61929e8cafcf42b407ae507ff185dee05d9e070.tar.gz |
Remove Unnecessary Null check in xpointer.c
For https://bugzilla.gnome.org/show_bug.cgi?id=738052
superfluous check
-rw-r--r-- | xpointer.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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); |