summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2018-01-12 11:19:00 +0300
committerMax Romanov <max.romanov@nginx.com>2018-01-12 11:19:00 +0300
commitaad4229cbc77e83310e15ca6aaf0eb3455d4cbc2 (patch)
tree88d1bd02b55f96034cb9cd1320a9635bdd415bd4
parent349717fb90edaf50ae2846db7b72a2da4285541b (diff)
downloadunit-aad4229cbc77e83310e15ca6aaf0eb3455d4cbc2.tar.gz
unit-aad4229cbc77e83310e15ca6aaf0eb3455d4cbc2.tar.bz2
Initializing script_name.start before using.
This makes gcc 4.4.6 happy.
Diffstat (limited to '')
-rw-r--r--src/nxt_php_sapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_php_sapi.c b/src/nxt_php_sapi.c
index 473b5447..7f1b2591 100644
--- a/src/nxt_php_sapi.c
+++ b/src/nxt_php_sapi.c
@@ -327,6 +327,7 @@ nxt_php_read_request(nxt_task_t *task, nxt_app_rmsg_t *rmsg,
} else {
script_name.length = 0;
+ script_name.start = NULL;
}
ctx->script.length = nxt_php_root.length + h->path.length +