From f7763d0d78c3fbdd0ecc811bdca1bb51940e19ac Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Thu, 16 Feb 2012 19:11:34 +0000 Subject: Fix few more warnings --- mcs/class/Mono.Http/Makefile | 3 ++- mcs/class/Mono.Http/Mono.Http.Modules/DigestAuthenticationModule.cs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'mcs/class/Mono.Http') 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; } -- cgit v1.2.3