diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2011-08-08 13:45:18 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2011-08-08 13:45:18 +0000 |
commit | bfdd53cd045ceff446f63ca0b97102a1a299d1ba (patch) | |
tree | 4c2a92b795fe2f0d584a957fdd5bacd3e7649064 /ext/dom/nodelist.c | |
parent | 0c1516f1741fcab7dd543d1469df6ff35d72d734 (diff) | |
download | php-git-bfdd53cd045ceff446f63ca0b97102a1a299d1ba.tar.gz |
Removal of deadcode identified by coverity
Diffstat (limited to 'ext/dom/nodelist.c')
-rw-r--r-- | ext/dom/nodelist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/nodelist.c b/ext/dom/nodelist.c index f7d7d15450..5b968c0207 100644 --- a/ext/dom/nodelist.c +++ b/ext/dom/nodelist.c @@ -104,7 +104,7 @@ Since: */ PHP_FUNCTION(dom_nodelist_item) { - zval *id, *rv = NULL; + zval *id; long index; int ret; dom_object *intern; @@ -163,7 +163,7 @@ PHP_FUNCTION(dom_nodelist_item) } if (itemnode) { - DOM_RET_OBJ(rv, itemnode, &ret, objmap->baseobj); + DOM_RET_OBJ(itemnode, &ret, objmap->baseobj); return; } } |