--- embedaddon/php/ext/dom/php_dom.c 2012/05/29 12:34:37 1.1.1.2 +++ embedaddon/php/ext/dom/php_dom.c 2013/10/14 08:02:11 1.1.1.4 @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2012 The PHP Group | + | Copyright (c) 1997-2013 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_dom.c,v 1.1.1.2 2012/05/29 12:34:37 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);