diff options
author | Christian Persch <chpe@src.gnome.org> | 2008-05-27 01:56:17 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2008-05-27 01:56:17 +0800 |
commit | 8c6d3823461b5ce8fc355e26d9066a3fd6106a51 (patch) | |
tree | 07125b7d163b8eb0aaffd4ac695314b34379c7db /embed/mozilla/mozilla-embed-single.cpp | |
parent | 320b345c22f4ee2ff4c33132f37be52a3ca98635 (diff) | |
download | gsoc2013-epiphany-8c6d3823461b5ce8fc355e26d9066a3fd6106a51.tar gsoc2013-epiphany-8c6d3823461b5ce8fc355e26d9066a3fd6106a51.tar.gz gsoc2013-epiphany-8c6d3823461b5ce8fc355e26d9066a3fd6106a51.tar.bz2 gsoc2013-epiphany-8c6d3823461b5ce8fc355e26d9066a3fd6106a51.tar.lz gsoc2013-epiphany-8c6d3823461b5ce8fc355e26d9066a3fd6106a51.tar.xz gsoc2013-epiphany-8c6d3823461b5ce8fc355e26d9066a3fd6106a51.tar.zst gsoc2013-epiphany-8c6d3823461b5ce8fc355e26d9066a3fd6106a51.zip |
Fix compile warning.
svn path=/branches/gnome-2-22/; revision=8256
Diffstat (limited to 'embed/mozilla/mozilla-embed-single.cpp')
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index ba84abae8..e87bf6216 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -587,14 +587,13 @@ impl_init (EphyEmbedSingle *esingle) 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"); |