From 925f7408106f612482cb1f4f58fafd78f3a4266d Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 9 Sep 2010 12:48:53 +0000 Subject: [PATCH] fix uninitialized value --- php_http_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php_http_misc.c b/php_http_misc.c index c52f83f..b345eff 100644 --- a/php_http_misc.c +++ b/php_http_misc.c @@ -51,7 +51,7 @@ PHP_HTTP_API void php_http_sleep(double s) int php_http_match(const char *haystack_str, const char *needle_str, int flags) { - int result; + int result = 0; if (flags & PHP_HTTP_MATCH_FULL) { if (flags & PHP_HTTP_MATCH_CASE) { -- 2.30.2