diff options
author | Lars Strojny <lstrojny@php.net> | 2012-09-02 08:01:18 +0200 |
---|---|---|
committer | Lars Strojny <lstrojny@php.net> | 2012-09-02 08:01:32 +0200 |
commit | 89948c7fbe487e5d75f7b02fe0c29238f556f341 (patch) | |
tree | b032271a445fe44642a0e4c466eca89a6c70e876 | |
parent | f7d51df5c65e47a5ef8a6d81f2e13044dd926492 (diff) | |
download | php-git-89948c7fbe487e5d75f7b02fe0c29238f556f341.tar.gz |
Initializing optional argument description in assert()
-rw-r--r-- | ext/standard/assert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/assert.c b/ext/standard/assert.c index 0ff3f9b7ef..15fbefd51c 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; |