--- embedaddon/php/ext/dom/nodelist.c 2012/02/21 23:47:54 1.1.1.1 +++ embedaddon/php/ext/dom/nodelist.c 2012/05/29 12:34:37 1.1.1.2 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: nodelist.c,v 1.1.1.1 2012/02/21 23:47:54 misho Exp $ */ +/* $Id: nodelist.c,v 1.1.1.2 2012/05/29 12:34:37 misho Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -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; } }