diff options
author | Christopher Jones <sixd@php.net> | 2013-08-14 20:36:50 -0700 |
---|---|---|
committer | Christopher Jones <sixd@php.net> | 2013-08-14 20:36:50 -0700 |
commit | 9ad97cd48903ea5454853960f2c14de326e0f624 (patch) | |
tree | 9607bef3020deb8da37bacdb1c14624f4b5d1d2f /sapi/cli/php_cli_server.c | |
parent | 9d62807190ebda858acbb09ad832c96570a97c40 (diff) | |
download | php-git-9ad97cd48903ea5454853960f2c14de326e0f624.tar.gz |
Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
Diffstat (limited to 'sapi/cli/php_cli_server.c')
-rw-r--r-- | sapi/cli/php_cli_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index 335d589a67..5a12134a91 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -1325,7 +1325,7 @@ static void php_cli_server_request_translate_vpath(php_cli_server_request *reque static const char *index_files[] = { "index.php", "index.html", NULL }; char *buf = safe_pemalloc(1, request->vpath_len, 1 + document_root_len + 1 + sizeof("index.html"), 1); char *p = buf, *prev_path = NULL, *q, *vpath; - size_t prev_path_len; + size_t prev_path_len = 0; int is_static_file = 0; if (!buf) { |