From 9e76e7aa3a0d6a8fe95b159177c839f32f3acabb Mon Sep 17 00:00:00 2001 From: David Garcia Quintas Date: Tue, 13 Oct 2015 07:52:54 -0700 Subject: removed unused local var --- src/core/iomgr/executor.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/core') diff --git a/src/core/iomgr/executor.c b/src/core/iomgr/executor.c index 94e5114dd5..457e5cdbac 100644 --- a/src/core/iomgr/executor.c +++ b/src/core/iomgr/executor.c @@ -124,14 +124,12 @@ void grpc_executor_enqueue(grpc_closure *closure, int success) { } void grpc_executor_shutdown() { - gpr_thd_id tid; int pending_join; grpc_closure *closure; grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; gpr_mu_lock(&g_executor.mu); pending_join = g_executor.pending_join; - tid = g_executor.tid; g_executor.shutting_down = 1; gpr_mu_unlock(&g_executor.mu); /* we can release the lock at this point despite the access to the closure -- cgit v1.2.3