From d69dfa4b9f58e2148f986e0ef5dba91f00c2f639 Mon Sep 17 00:00:00 2001 From: Arnaud Le Blanc Date: Tue, 21 Oct 2008 22:08:38 +0000 Subject: MFH: initialize optional vars --- ext/standard/head.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/standard/head.c') diff --git a/ext/standard/head.c b/ext/standard/head.c index 6958fbfccd..3e6c59f133 100644 --- a/ext/standard/head.c +++ b/ext/standard/head.c @@ -197,7 +197,7 @@ PHP_FUNCTION(setrawcookie) Returns true if headers have already been sent, false otherwise */ PHP_FUNCTION(headers_sent) { - zval *arg1, *arg2; + zval *arg1 = NULL, *arg2 = NULL; char *file=""; int line=0; -- cgit v1.2.1