aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/fixtures/h2_full+workarounds.c
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-05-18 15:16:16 -0700
committerGravatar Muxi Yan <mxyan@google.com>2017-05-18 15:28:55 -0700
commit191f1eb48e1c33a6b07cf3faef565246931c56eb (patch)
tree7b4e4373e8dd0146a9124c2b611c8dad44d27558 /test/core/end2end/fixtures/h2_full+workarounds.c
parentdeb5565b01be0f0cb93241baa889c791a00f1574 (diff)
Remove loop initial declaration
Diffstat (limited to 'test/core/end2end/fixtures/h2_full+workarounds.c')
-rw-r--r--test/core/end2end/fixtures/h2_full+workarounds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/end2end/fixtures/h2_full+workarounds.c b/test/core/end2end/fixtures/h2_full+workarounds.c
index 2e9264ffa6..fcb2024645 100644
--- a/test/core/end2end/fixtures/h2_full+workarounds.c
+++ b/test/core/end2end/fixtures/h2_full+workarounds.c
@@ -83,10 +83,11 @@ void chttp2_init_client_fullstack(grpc_end2end_test_fixture *f,
void chttp2_init_server_fullstack(grpc_end2end_test_fixture *f,
grpc_channel_args *server_args) {
+ int i;
grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
fullstack_fixture_data *ffd = f->fixture_data;
grpc_arg args[GRPC_MAX_WORKAROUND_ID];
- for (uint32_t i = 0; i < GRPC_MAX_WORKAROUND_ID; i++) {
+ for (i = 0; i < GRPC_MAX_WORKAROUND_ID; i++) {
args[i].key = workarounds_arg[i];
args[i].type = GRPC_ARG_INTEGER;
args[i].value.integer = 1;