lbarnaud Wed Nov 19 17:53:47 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/spl spl_array.c Log: CS http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_array.c?r1=1.71.2.17.2.13.2.34&r2=1.71.2.17.2.13.2.35&diff_format=u Index: php-src/ext/spl/spl_array.c diff -u php-src/ext/spl/spl_array.c:1.71.2.17.2.13.2.34 php-src/ext/spl/spl_array.c:1.71.2.17.2.13.2.35 --- php-src/ext/spl/spl_array.c:1.71.2.17.2.13.2.34 Wed Nov 19 14:41:40 2008 +++ php-src/ext/spl/spl_array.c Wed Nov 19 17:53:47 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: spl_array.c,v 1.71.2.17.2.13.2.34 2008/11/19 14:41:40 lbarnaud Exp $ */ +/* $Id: spl_array.c,v 1.71.2.17.2.13.2.35 2008/11/19 17:53:47 lbarnaud Exp $ */ #ifdef HAVE_CONFIG_H # include "config.h" @@ -95,8 +95,8 @@ static void spl_array_update_pos(spl_array_object* intern) /* {{{ */ { - Bucket *pos; - if ((pos = intern->pos)) { + Bucket *pos = intern->pos; + if (pos != NULL) { intern->pos_h = pos->h; } } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php