diff options
| author | Arnaud Le Blanc <lbarnaud@php.net> | 2008-10-21 22:08:38 +0000 |
|---|---|---|
| committer | Arnaud Le Blanc <lbarnaud@php.net> | 2008-10-21 22:08:38 +0000 |
| commit | d69dfa4b9f58e2148f986e0ef5dba91f00c2f639 (patch) | |
| tree | c86c9f2955005a0c78c9ea5f0e181a0ddf8980a6 /ext/standard/head.c | |
| parent | 261f0c32a59ba9ecc59f36536ea27bdfdead0939 (diff) | |
| download | php-git-d69dfa4b9f58e2148f986e0ef5dba91f00c2f639.tar.gz | |
MFH: initialize optional vars
Diffstat (limited to 'ext/standard/head.c')
| -rw-r--r-- | ext/standard/head.c | 2 |
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; |
