--- embedaddon/php/ext/dom/php_dom.c 2013/07/22 01:31:40 1.1.1.3 +++ embedaddon/php/ext/dom/php_dom.c 2013/10/14 08:02:11 1.1.1.4 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_dom.c,v 1.1.1.3 2013/07/22 01:31:40 misho Exp $ */ +/* $Id: php_dom.c,v 1.1.1.4 2013/10/14 08:02:11 misho Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1089,7 +1089,11 @@ void dom_xpath_objects_free_storage(void *object TSRML void dom_objects_free_storage(void *object TSRMLS_DC) { dom_object *intern = (dom_object *)object; +#if defined(__GNUC__) && __GNUC__ >= 3 + int retcount __attribute__((unused)); /* keep compiler quiet */ +#else int retcount; +#endif zend_object_std_dtor(&intern->std TSRMLS_CC);