Fixed building by GCC 4.8 and older.
This commit is contained in:
@@ -446,6 +446,12 @@ nxt_conf_json_copy_object(nxt_conf_json_value_t *dst,
|
|||||||
|
|
||||||
pass_op = NULL;
|
pass_op = NULL;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This initialization is needed only to
|
||||||
|
* suppress a warning on GCC 4.8 and older.
|
||||||
|
*/
|
||||||
|
index = 0;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
if (pass_op == NULL) {
|
if (pass_op == NULL) {
|
||||||
index = (op == NULL || op->action == NXT_CONF_JSON_OP_CREATE)
|
index = (op == NULL || op->action == NXT_CONF_JSON_OP_CREATE)
|
||||||
|
|||||||
Reference in New Issue
Block a user