[Pkg-mono-svn-commits] [mono] 03/04: Fix compilation failure to due to uninitialized variable.

Jo Shields directhex at alioth.debian.org
Wed Oct 9 22:21:56 UTC 2013


This is an automated email from the git hooks/post-receive script.

directhex pushed a commit to branch master
in repository mono.

commit 0dde9cb5ca0dd7ce45fc2d4aeab3f4bdd1a10548
Author: Jo Shields <directhex at apebox.org>
Date:   Mon Aug 12 11:04:48 2013 +0100

    Fix compilation failure to due to uninitialized variable.
---
 mcs/class/Mono.WebBrowser/Mono.NullBrowser/Base.cs |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/mcs/class/Mono.WebBrowser/Mono.NullBrowser/Base.cs b/mcs/class/Mono.WebBrowser/Mono.NullBrowser/Base.cs
index 086a963..265ef45 100644
--- a/mcs/class/Mono.WebBrowser/Mono.NullBrowser/Base.cs
+++ b/mcs/class/Mono.WebBrowser/Mono.NullBrowser/Base.cs
@@ -161,13 +161,7 @@ namespace Mono.NullBrowser
 
 		public static object GetProxyForObject (IWebBrowser control, Guid iid, object obj)
 		{
-			if (!isInitialized ())
-				return null;
-			
-			IntPtr ret;
-			
-			object o = Marshal.GetObjectForIUnknown (ret);
-			return o;
+			return null;
 		}
 
 		public static string EvalScript (IWebBrowser control, string script)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mono/packages/mono.git



More information about the Pkg-mono-svn-commits mailing list