From 3560cd83c05a178ac76eb404784960b2f7069071 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Wed, 27 Aug 2003 00:43:54 +0000 Subject: [PATCH] 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. --- ext/standard/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.40.0