cvs: pecl /stats statistics.c

From: Date: Thu, 02 Jun 2005 11:07:28 +0000
Subject: cvs: pecl /stats statistics.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-3217@lists.php.net to get a copy of this message
andrey Thu Jun 2 07:07:28 2005 EDT Modified files: /pecl/stats statistics.c Log: initialize val because in some branches it can be used unitialized http://cvs.php.net/diff.php/pecl/stats/statistics.c?r1=1.7&r2=1.8&ty=u Index: pecl/stats/statistics.c diff -u pecl/stats/statistics.c:1.7 pecl/stats/statistics.c:1.8 --- pecl/stats/statistics.c:1.7 Sat May 14 13:07:54 2005 +++ pecl/stats/statistics.c Thu Jun 2 07:07:24 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: statistics.c,v 1.7 2005/05/14 17:07:54 andrey Exp $ */ +/* $Id: statistics.c,v 1.8 2005/06/02 11:07:24 andrey Exp $ */ #ifdef HAVE_CONFIG_H @@ -3288,7 +3288,7 @@ double perc; double low; double upp; - double val; + double val = 0.0; if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, &arg1, &arg2) == FAILURE) { WRONG_PARAM_COUNT;

« previous php.pecl.cvs (#3217) next »