diff options
author | Sara Golemon <pollita@php.net> | 2003-08-27 00:43:54 +0000 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2003-08-27 00:43:54 +0000 |
commit | 3560cd83c05a178ac76eb404784960b2f7069071 (patch) | |
tree | 4e6d6c42e84659f1d8d54b7799c2b884f6d989c9 | |
parent | b04e0a8884716e8a9a22bd35458e2c3aee8fba2d (diff) | |
download | php-git-3560cd83c05a178ac76eb404784960b2f7069071.tar.gz |
Squelch warning "Variable may be used uninitialized."
This would never occur anyway because of the logic of the function,
but gcc isn't quite smart enough to realize this.
-rw-r--r-- | ext/standard/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c index ae1f71c364..26167f934c 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -1849,7 +1849,7 @@ PHP_FUNCTION(substr_replace) zval **repl; char *result; int result_len; - int l; + int l = 0; int f; int argc = ZEND_NUM_ARGS(); |