aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2016-09-22 14:15:46 -0700
committerGravatar yang-g <yangg@google.com>2016-09-22 14:15:46 -0700
commite267f86c43fa7a915992c674325b195f94f34dc6 (patch)
tree82bd0131b13b68e8b66e0d7aaa5167087af63143 /test/cpp
parent6984840145c6d5bb581e2880345e684665b2c040 (diff)
Properly init variable
Diffstat (limited to 'test/cpp')
-rw-r--r--test/cpp/qps/client.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/cpp/qps/client.h b/test/cpp/qps/client.h
index c8809cbc5b..5fb87b2782 100644
--- a/test/cpp/qps/client.h
+++ b/test/cpp/qps/client.h
@@ -129,7 +129,10 @@ class HistogramEntry GRPC_FINAL {
class Client {
public:
- Client() : timer_(new UsageTimer), interarrival_timer_() {
+ Client()
+ : timer_(new UsageTimer),
+ interarrival_timer_(),
+ started_requests_(false) {
gpr_event_init(&start_requests_);
}
virtual ~Client() {}