From a78da60a8ac8f8777aedc02e463f35c4e0cac906 Mon Sep 17 00:00:00 2001
From: Craig Tiller <ctiller@google.com>
Date: Fri, 27 Jan 2017 08:16:23 -0800
Subject: [PATCH] Add comment

---
 src/core/lib/surface/call.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/core/lib/surface/call.c b/src/core/lib/surface/call.c
index e8a93b91bf..5519a1ec7e 100644
--- a/src/core/lib/surface/call.c
+++ b/src/core/lib/surface/call.c
@@ -989,6 +989,8 @@ static grpc_error *consolidate_batch_errors(batch_control *bctl) {
   if (n == 0) {
     return GRPC_ERROR_NONE;
   } else if (n == 1) {
+    /* Skip creating a composite error in the case that only one error was
+       logged */
     grpc_error *e = bctl->errors[0];
     bctl->errors[0] = NULL;
     return e;
-- 
GitLab