--- embedaddon/php/ext/snmp/snmp.c 2013/07/22 01:32:01 1.1.1.3 +++ embedaddon/php/ext/snmp/snmp.c 2013/10/14 08:02:30 1.1.1.4 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: snmp.c,v 1.1.1.3 2013/07/22 01:32:01 misho Exp $ */ +/* $Id: snmp.c,v 1.1.1.4 2013/10/14 08:02:30 misho Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -514,7 +514,7 @@ static zend_object_value php_snmp_object_new(zend_clas static void php_snmp_error(zval *object, const char *docref TSRMLS_DC, int type, const char *format, ...) { va_list args; - php_snmp_object *snmp_object; + php_snmp_object *snmp_object = NULL; if (object) { snmp_object = (php_snmp_object *)zend_object_store_get_object(object TSRMLS_CC);