From dc71eeba7bd157bd7ede25a25edf3a8fc77f611c Mon Sep 17 00:00:00 2001 From: yang-g Date: Thu, 30 Jul 2015 11:49:52 -0700 Subject: remove braces --- test/cpp/interop/reconnect_interop_server.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'test/cpp') diff --git a/test/cpp/interop/reconnect_interop_server.cc b/test/cpp/interop/reconnect_interop_server.cc index 1c9ba55fb8..8bc51aa52e 100644 --- a/test/cpp/interop/reconnect_interop_server.cc +++ b/test/cpp/interop/reconnect_interop_server.cc @@ -113,11 +113,9 @@ class ReconnectServiceImpl : public ReconnectService::Service { // extract timestamps and set response Verify(response); reconnect_server_clear_timestamps(&tcp_server_); - { - std::lock_guard lock(mu_); - serving_ = false; - cv_.notify_one(); - } + std::lock_guard lock(mu_); + serving_ = false; + cv_.notify_one(); return Status::OK; } -- cgit v1.2.3