summaryrefslogtreecommitdiff
path: root/sapi/cli
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2013-08-14 20:47:00 -0700
committerChristopher Jones <sixd@php.net>2013-08-14 20:47:00 -0700
commit3c166c47584c7a7eb8c1ce42ea05a8a5677da028 (patch)
tree7d7e5cf3f27e24c669e6f5272ed4354f2dc0722d /sapi/cli
parent759517651ec5fb09349a3653435dc9ddd0fc53b5 (diff)
parent39612afc72623e89a2bc595c9be4be497568d1be (diff)
downloadphp-git-3c166c47584c7a7eb8c1ce42ea05a8a5677da028.tar.gz
Merge branch 'PHP-5.5'
* PHP-5.5: Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings. Conflicts: ext/gmp/gmp.c
Diffstat (limited to 'sapi/cli')
-rw-r--r--sapi/cli/php_cli_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c
index a1bae67e74..cbe9c7bd66 100644
--- a/sapi/cli/php_cli_server.c
+++ b/sapi/cli/php_cli_server.c
@@ -1335,7 +1335,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) {