aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-05-15 16:29:58 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-05-15 16:29:58 -0700
commitdd093f33f6891152f076f95c2a94bbc26d75aef1 (patch)
tree8037a4e43825849c7e1011e7d879dcba016bedfa /include
parent74e5edab67c70cc3085ff59f6fae9b7ecd76bed6 (diff)
Remove some bad asserts
Diffstat (limited to 'include')
-rw-r--r--include/grpc++/stream.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/grpc++/stream.h b/include/grpc++/stream.h
index 0efdbdaeca..c836f98c2a 100644
--- a/include/grpc++/stream.h
+++ b/include/grpc++/stream.h
@@ -114,7 +114,7 @@ class ClientReader GRPC_FINAL : public ClientReaderInterface<R> {
CallOpBuffer buf;
buf.AddRecvInitialMetadata(context_);
call_.PerformOps(&buf);
- GPR_ASSERT(cq_.Pluck(&buf));
+ cq_.Pluck(&buf); // status ignored
}
bool Read(R* msg) GRPC_OVERRIDE {
@@ -216,7 +216,7 @@ class ClientReaderWriter GRPC_FINAL : public ClientReaderWriterInterface<W, R> {
CallOpBuffer buf;
buf.AddSendInitialMetadata(&context->send_initial_metadata_);
call_.PerformOps(&buf);
- GPR_ASSERT(cq_.Pluck(&buf));
+ cq_.Pluck(&buf);
}
// Blocking wait for initial metadata from server. The received metadata
@@ -229,7 +229,7 @@ class ClientReaderWriter GRPC_FINAL : public ClientReaderWriterInterface<W, R> {
CallOpBuffer buf;
buf.AddRecvInitialMetadata(context_);
call_.PerformOps(&buf);
- GPR_ASSERT(cq_.Pluck(&buf));
+ cq_.Pluck(&buf); // status ignored
}
bool Read(R* msg) GRPC_OVERRIDE {