epiphany r8256 - branches/gnome-2-22/embed/mozilla



Author: chpe
Date: Mon May 26 17:56:17 2008
New Revision: 8256
URL: http://svn.gnome.org/viewvc/epiphany?rev=8256&view=rev

Log:
Fix compile warning.


Modified:
   branches/gnome-2-22/embed/mozilla/mozilla-embed-single.cpp

Modified: branches/gnome-2-22/embed/mozilla/mozilla-embed-single.cpp
==============================================================================
--- branches/gnome-2-22/embed/mozilla/mozilla-embed-single.cpp	(original)
+++ branches/gnome-2-22/embed/mozilla/mozilla-embed-single.cpp	Mon May 26 17:56:17 2008
@@ -587,14 +587,13 @@
 	NS_LogInit ();
 #endif
 
-	nsresult rv;
 #ifdef XPCOM_GLUE
 	static const GREVersionRange greVersion = {
 	  "1.9a", PR_TRUE,
 	  "2", PR_TRUE
 	};
 	char xpcomLocation[4096];
-	rv = GRE_GetGREPathWithProperties(&greVersion, 1, nsnull, 0, xpcomLocation, sizeof (xpcomLocation));
+	nsresult rv = GRE_GetGREPathWithProperties(&greVersion, 1, nsnull, 0, xpcomLocation, sizeof (xpcomLocation));
 	if (NS_FAILED (rv))
 	{
 	  g_warning ("Could not find a suitable GRE!\n");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]