Commit: e212de4a4492cd9dce8e45133604aa87083a0a92 Author: Lars Strojny <lstro...@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; -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php