Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2012-02-16 23:11:34 +0400
committerMarek Safar <marek.safar@gmail.com>2012-02-17 16:37:26 +0400
commitf7763d0d78c3fbdd0ecc811bdca1bb51940e19ac (patch)
treed2e3fa7eec6188df385534ca619dc6da58e226e2 /mcs/class/Mono.Http
parent3001d86d28f5c77786b8137ed3c90a82426cc492 (diff)
Fix few more warnings
Diffstat (limited to 'mcs/class/Mono.Http')
-rw-r--r--mcs/class/Mono.Http/Makefile3
-rw-r--r--mcs/class/Mono.Http/Mono.Http.Modules/DigestAuthenticationModule.cs2
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;
}