From 8a159b3efc718ce765d0998c9c6d76c687fe9804 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Thu, 10 Aug 2006 09:31:24 +0000 Subject: [PATCH] initialize variable --- 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 24c099a172..707d1f7dc5 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -2101,7 +2101,7 @@ PHP_FUNCTION(pathinfo) if (have_ext) { zstr ext; - int ext_len; + int ext_len = 0; if (path_type == IS_UNICODE) { ext.u = u_memrchr32(ret.u, (UChar) 0x2e /*'.'*/, ret_len); -- 2.50.1