From 5906ddbc4b827a3c0fac915f2967269f1bb940ce Mon Sep 17 00:00:00 2001 From: clowwindy Date: Sat, 11 Jul 2015 18:50:10 +0800 Subject: [PATCH] fix warnings --- shadowsocks-csharp/Controller/Listener.cs | 4 ++-- shadowsocks-csharp/Controller/UDPRelay.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/shadowsocks-csharp/Controller/Listener.cs b/shadowsocks-csharp/Controller/Listener.cs index a1f316b..b21e4f8 100755 --- a/shadowsocks-csharp/Controller/Listener.cs +++ b/shadowsocks-csharp/Controller/Listener.cs @@ -124,7 +124,7 @@ namespace Shadowsocks.Controller catch (ObjectDisposedException) { } - catch (Exception e) + catch (Exception) { } finally @@ -137,7 +137,7 @@ namespace Shadowsocks.Controller { // do nothing } - catch (Exception e) + catch (Exception) { } } diff --git a/shadowsocks-csharp/Controller/UDPRelay.cs b/shadowsocks-csharp/Controller/UDPRelay.cs index bad2e41..beee8d8 100644 --- a/shadowsocks-csharp/Controller/UDPRelay.cs +++ b/shadowsocks-csharp/Controller/UDPRelay.cs @@ -108,7 +108,7 @@ namespace Shadowsocks.Controller catch (ObjectDisposedException) { } - catch (Exception e) + catch (Exception) { } finally @@ -124,7 +124,7 @@ namespace Shadowsocks.Controller catch (ObjectDisposedException) { } - catch (Exception e) + catch (Exception) { } finally