Commit: 89948c7fbe487e5d75f7b02fe0c29238f556f341 Author: Lars Strojny <lstro...@php.net> Sun, 2 Sep 2012 08:01:18 +0200 Parents: f7d51df5c65e47a5ef8a6d81f2e13044dd926492 Branches: PHP-5.4
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=89948c7fbe487e5d75f7b02fe0c29238f556f341 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