summaryrefslogtreecommitdiff
path: root/ext/standard/head.c
diff options
context:
space:
mode:
authorArnaud Le Blanc <lbarnaud@php.net>2008-10-21 22:08:38 +0000
committerArnaud Le Blanc <lbarnaud@php.net>2008-10-21 22:08:38 +0000
commitd69dfa4b9f58e2148f986e0ef5dba91f00c2f639 (patch)
treec86c9f2955005a0c78c9ea5f0e181a0ddf8980a6 /ext/standard/head.c
parent261f0c32a59ba9ecc59f36536ea27bdfdead0939 (diff)
downloadphp-git-d69dfa4b9f58e2148f986e0ef5dba91f00c2f639.tar.gz
MFH: initialize optional vars
Diffstat (limited to 'ext/standard/head.c')
-rw-r--r--ext/standard/head.c2
1 files changed, 1 insertions, 1 deletions
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;