diff options
author | Marek Safar <marek.safar@gmail.com> | 2012-02-16 23:11:34 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2012-02-17 16:37:26 +0400 |
commit | f7763d0d78c3fbdd0ecc811bdca1bb51940e19ac (patch) | |
tree | d2e3fa7eec6188df385534ca619dc6da58e226e2 /mcs/class/Mono.Http | |
parent | 3001d86d28f5c77786b8137ed3c90a82426cc492 (diff) |
Fix few more warnings
Diffstat (limited to 'mcs/class/Mono.Http')
-rw-r--r-- | mcs/class/Mono.Http/Makefile | 3 | ||||
-rw-r--r-- | mcs/class/Mono.Http/Mono.Http.Modules/DigestAuthenticationModule.cs | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/mcs/class/Mono.Http/Makefile b/mcs/class/Mono.Http/Makefile index 820e4ce3009..59507aa251b 100644 --- a/mcs/class/Mono.Http/Makefile +++ b/mcs/class/Mono.Http/Makefile @@ -8,7 +8,8 @@ LIB_MCS_FLAGS = -r:$(corlib) \ -r:System.Xml.dll \ -r:System.Web.dll \ -r:ICSharpCode.SharpZipLib.dll \ - -r:Mono.Security.dll + -r:Mono.Security.dll \ + -nowarn:618 NO_TEST = yes diff --git a/mcs/class/Mono.Http/Mono.Http.Modules/DigestAuthenticationModule.cs b/mcs/class/Mono.Http/Mono.Http.Modules/DigestAuthenticationModule.cs index fe55fe17768..4e84bc79d7d 100644 --- a/mcs/class/Mono.Http/Mono.Http.Modules/DigestAuthenticationModule.cs +++ b/mcs/class/Mono.Http/Mono.Http.Modules/DigestAuthenticationModule.cs @@ -68,7 +68,7 @@ namespace Mono.Http.Modules string expireStr = new ASCIIEncoding().GetString(decodedBytes); expireTime = DateTime.Parse(expireStr); } - catch (FormatException e) { + catch (FormatException) { return false; } |