aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-03-06 09:31:18 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-03-06 09:31:18 -0800
commit49fd7fe13f943ba7e7a45e6f79cb5101ac638066 (patch)
treeff53e914609b35a4fe61883f88a3d64460fe98cc
parenta29d0f3fbcfbffb04cff4bf1e34429307b58ae09 (diff)
removed some compiler warnings
-rw-r--r--src/csharp/Grpc.Core.Tests/PInvokeTest.cs2
-rw-r--r--src/csharp/Grpc.Core/ChannelArgs.cs2
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)
{