removed some compiler warnings

pull/968/head
Jan Tattermusch 10 years ago
parent a29d0f3fbc
commit 49fd7fe13f
  1. 2
      src/csharp/Grpc.Core.Tests/PInvokeTest.cs
  2. 2
      src/csharp/Grpc.Core/ChannelArgs.cs

@ -127,8 +127,6 @@ namespace Grpc.Core.Tests
[Test] [Test]
public void NopPInvokeBenchmark() public void NopPInvokeBenchmark()
{ {
CompletionCallbackDelegate handler = Handler;
BenchmarkUtil.RunBenchmark( BenchmarkUtil.RunBenchmark(
1000000, 100000000, 1000000, 100000000,
() => { () => {

@ -99,7 +99,7 @@ namespace Grpc.Core
} }
return nativeArgs; return nativeArgs;
} }
catch (Exception e) catch (Exception)
{ {
if (nativeArgs != null) if (nativeArgs != null)
{ {

Loading…
Cancel
Save