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>2014-05-23 23:27:22 +0400
committerDuncan Mak <duncan.mak@xamarin.com>2014-06-11 02:13:23 +0400
commita7157b51bb4d0b92ecb1d50d54be1f476f3aeff0 (patch)
treef299104c448ad6c45f8c6b57855fada18d385658
parent3bb01ace870b78794f739fee7e86eb29406416e9 (diff)
Fix warnings
-rw-r--r--mcs/class/System/System.Net/SimpleAsyncResult.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/mcs/class/System/System.Net/SimpleAsyncResult.cs b/mcs/class/System/System.Net/SimpleAsyncResult.cs
index 699137fcce1..42c94e0c14d 100644
--- a/mcs/class/System/System.Net/SimpleAsyncResult.cs
+++ b/mcs/class/System/System.Net/SimpleAsyncResult.cs
@@ -161,10 +161,10 @@ namespace System.Net
{
if (!callbackDone && cb != null) {
callbackDone = true;
- if (true || synch)
+// if (true || synch)
cb (this);
- else
- ThreadPool.QueueUserWorkItem (CB, null);
+// else
+// ThreadPool.QueueUserWorkItem (CB, null);
}
}