diff options
| author | Bond_009 <bond.009@outlook.com> | 2018-12-15 19:53:09 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2018-12-16 00:49:18 +0100 |
| commit | 22093c9e8fe15691cca79795acc2616a8b7ec4ff (patch) | |
| tree | 56b40f8dd4d23ae244a7fc787affbe1ac817e899 /SocketHttpListener/Net/HttpListenerRequestUriBuilder.cs | |
| parent | 336a4a2b8d728c32bd22404dfa16f1a80a3e9b15 (diff) | |
Removed some warnings
Diffstat (limited to 'SocketHttpListener/Net/HttpListenerRequestUriBuilder.cs')
| -rw-r--r-- | SocketHttpListener/Net/HttpListenerRequestUriBuilder.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SocketHttpListener/Net/HttpListenerRequestUriBuilder.cs b/SocketHttpListener/Net/HttpListenerRequestUriBuilder.cs index e61bde32e..34b5eaf74 100644 --- a/SocketHttpListener/Net/HttpListenerRequestUriBuilder.cs +++ b/SocketHttpListener/Net/HttpListenerRequestUriBuilder.cs @@ -253,7 +253,7 @@ namespace SocketHttpListener.Net //if (NetEventSource.IsEnabled) // NetEventSource.Error(this, SR.Format(SR.net_log_listener_cant_convert_percent_value, codePoint)); } - catch (EncoderFallbackException e) + catch (EncoderFallbackException) { // If utf8Encoding.GetBytes() fails //if (NetEventSource.IsEnabled) NetEventSource.Error(this, SR.Format(SR.net_log_listener_cant_convert_to_utf8, unicodeString, e.Message)); @@ -303,11 +303,11 @@ namespace SocketHttpListener.Net return true; } - catch (DecoderFallbackException e) + catch (DecoderFallbackException) { //if (NetEventSource.IsEnabled) NetEventSource.Error(this, SR.Format(SR.net_log_listener_cant_convert_bytes, GetOctetsAsString(_rawOctets), e.Message)); } - catch (EncoderFallbackException e) + catch (EncoderFallbackException) { // If utf8Encoding.GetBytes() fails //if (NetEventSource.IsEnabled) NetEventSource.Error(this, SR.Format(SR.net_log_listener_cant_convert_to_utf8, decodedString, e.Message)); |
