From 190a8dbc6c011d3c59980c2525ffe443cf4886da Mon Sep 17 00:00:00 2001 From: Alexander Polcyn Date: Tue, 16 Jan 2018 22:57:05 -0800 Subject: Fix linker error on objc mac tests by explicitly installing cocoapods v1.3.1, rather than picking up 1.4.1 --- src/objective-c/GRPCClient/private/GRPCChannel.m | 1 + 1 file changed, 1 insertion(+) (limited to 'src/objective-c') diff --git a/src/objective-c/GRPCClient/private/GRPCChannel.m b/src/objective-c/GRPCClient/private/GRPCChannel.m index b78b14f2af..26efe90abd 100644 --- a/src/objective-c/GRPCClient/private/GRPCChannel.m +++ b/src/objective-c/GRPCClient/private/GRPCChannel.m @@ -189,6 +189,7 @@ static grpc_channel_args *BuildChannelArgs(NSDictionary *dictionary) { timeout = 0; } grpc_slice host_slice; + memset(&host_slice, 0, sizeof(host_slice)); if (serverName) { host_slice = grpc_slice_from_copied_string(serverName.UTF8String); } -- cgit v1.2.3