From 756aef0607eaf4a7b655688ebe0b980144244557 Mon Sep 17 00:00:00 2001 From: Arnaud Le Blanc Date: Wed, 19 Nov 2008 17:53:47 +0000 Subject: [PATCH] CS --- ext/spl/spl_array.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index 7230ebd4d4..fb4d12a7de 100755 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -95,8 +95,8 @@ static void spl_array_rewind(spl_array_object *intern TSRMLS_DC); 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; } } /* }}} */ -- 2.40.0