com php-src: Initializing optional argument description in assert(): ext/standard/assert.c

From: Date: Sun, 02 Sep 2012 06:01:18 +0000
Subject: com php-src: Initializing optional argument description in assert(): ext/standard/assert.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-70096@lists.php.net to get a copy of this message
Commit: e212de4a4492cd9dce8e45133604aa87083a0a92 Author: Lars Strojny <lstrojny@php.net> Sun, 2 Sep 2012 08:01:18 +0200 Parents: 4e84f725544153d5b6fff99adc274d11f79b9079 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e212de4a4492cd9dce8e45133604aa87083a0a92 Log: Initializing optional argument description in assert() Changed paths: M ext/standard/assert.c Diff: diff --git a/ext/standard/assert.c b/ext/standard/assert.c index 0ff3f9b..15fbefd 100644 --- a/ext/standard/assert.c +++ b/ext/standard/assert.c @@ -143,7 +143,7 @@ PHP_FUNCTION(assert) zval **assertion; int val, description_len = 0; char *myeval = NULL; - char *compiled_string_description, *description; + char *compiled_string_description, *description = NULL; if (! ASSERTG(active)) { RETURN_TRUE;

« previous php.cvs (#70096) next »