diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2015-03-06 09:31:18 -0800 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2015-03-06 09:31:18 -0800 |
commit | 49fd7fe13f943ba7e7a45e6f79cb5101ac638066 (patch) | |
tree | ff53e914609b35a4fe61883f88a3d64460fe98cc | |
parent | a29d0f3fbcfbffb04cff4bf1e34429307b58ae09 (diff) |
removed some compiler warnings
-rw-r--r-- | src/csharp/Grpc.Core.Tests/PInvokeTest.cs | 2 | ||||
-rw-r--r-- | src/csharp/Grpc.Core/ChannelArgs.cs | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/csharp/Grpc.Core.Tests/PInvokeTest.cs b/src/csharp/Grpc.Core.Tests/PInvokeTest.cs index 282d521ba3..9db08d2f02 100644 --- a/src/csharp/Grpc.Core.Tests/PInvokeTest.cs +++ b/src/csharp/Grpc.Core.Tests/PInvokeTest.cs @@ -127,8 +127,6 @@ namespace Grpc.Core.Tests [Test] public void NopPInvokeBenchmark() { - CompletionCallbackDelegate handler = Handler; - BenchmarkUtil.RunBenchmark( 1000000, 100000000, () => { diff --git a/src/csharp/Grpc.Core/ChannelArgs.cs b/src/csharp/Grpc.Core/ChannelArgs.cs index 653a5780a3..298b6edf20 100644 --- a/src/csharp/Grpc.Core/ChannelArgs.cs +++ b/src/csharp/Grpc.Core/ChannelArgs.cs @@ -99,7 +99,7 @@ namespace Grpc.Core } return nativeArgs; } - catch (Exception e) + catch (Exception) { if (nativeArgs != null) { |