diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCOpBatchLog.m | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCOpBatchLog.m b/src/objective-c/GRPCClient/private/GRPCOpBatchLog.m index e5e7100ddf..4699b8e6b3 100644 --- a/src/objective-c/GRPCClient/private/GRPCOpBatchLog.m +++ b/src/objective-c/GRPCClient/private/GRPCOpBatchLog.m @@ -53,9 +53,7 @@ NSMutableArray *opBatchLog = nil; + (void)addOpBatchToLog:(NSArray *)batch { @synchronized (opBatchLog) { - if (opBatchLog) { - [opBatchLog addObject:batch]; - } + [opBatchLog addObject:batch]; } } |