From: Michael Wallner Date: Thu, 9 Sep 2010 12:48:53 +0000 (+0000) Subject: fix uninitialized value X-Git-Tag: DEV_2-before-client~132 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=925f7408106f612482cb1f4f58fafd78f3a4266d fix uninitialized value --- 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) {