aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-18 13:57:53 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-18 13:57:53 -0700
commite114983643479d20e44536cb704f5738cb848329 (patch)
tree7b73ba2afd33ba9622b5dedfe08dc5da09da5538
parent1a88be4edfba35732236956e6e835ecd5c9de13d (diff)
NULL return for non-id type
-rw-r--r--src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.m b/src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.m
index 00b388ebbe..7067578467 100644
--- a/src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.m
+++ b/src/objective-c/GRPCClient/private/GRPCCronetChannelFactory.m
@@ -84,7 +84,7 @@ NS_ASSUME_NONNULL_BEGIN
channelArgs:(nullable NSDictionary *)args {
[NSException raise:NSInvalidArgumentException
format:@"Must enable macro GRPC_COMPILE_WITH_CRONET to build Cronet channel."];
- return nil;
+ return NULL;
}
@end