aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/GtkNSSSecurityWarningDialogs.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-02-21 03:23:20 +0800
committerChristian Persch <chpe@src.gnome.org>2006-02-21 03:23:20 +0800
commit9b14853a9d246c0f061fd475c10d86311d5daf8a (patch)
tree447f68cfb3b13380248f8b63ff2c3a299491cf90 /embed/mozilla/GtkNSSSecurityWarningDialogs.cpp
parentb5ecdf496ea2de0cfa33979f4eb1d57de72e7f47 (diff)
downloadgsoc2013-epiphany-9b14853a9d246c0f061fd475c10d86311d5daf8a.tar
gsoc2013-epiphany-9b14853a9d246c0f061fd475c10d86311d5daf8a.tar.gz
gsoc2013-epiphany-9b14853a9d246c0f061fd475c10d86311d5daf8a.tar.bz2
gsoc2013-epiphany-9b14853a9d246c0f061fd475c10d86311d5daf8a.tar.lz
gsoc2013-epiphany-9b14853a9d246c0f061fd475c10d86311d5daf8a.tar.xz
gsoc2013-epiphany-9b14853a9d246c0f061fd475c10d86311d5daf8a.tar.zst
gsoc2013-epiphany-9b14853a9d246c0f061fd475c10d86311d5daf8a.zip
Do return on failure.
2006-02-20 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: Do return on failure.
Diffstat (limited to 'embed/mozilla/GtkNSSSecurityWarningDialogs.cpp')
-rw-r--r--embed/mozilla/GtkNSSSecurityWarningDialogs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/GtkNSSSecurityWarningDialogs.cpp b/embed/mozilla/GtkNSSSecurityWarningDialogs.cpp
index fe87b192f..384c41905 100644
--- a/embed/mozilla/GtkNSSSecurityWarningDialogs.cpp
+++ b/embed/mozilla/GtkNSSSecurityWarningDialogs.cpp
@@ -229,7 +229,7 @@ GtkNSSSecurityWarningDialogs::DoDialog (nsIInterfaceRequestor *aContext,
AutoJSContextStack stack;
rv = stack.Init ();
- if (NS_FAILED (rv));
+ if (NS_FAILED (rv)) return;
/* Didn't you know it, mozilla SUCKS!
* the "aContext" interface requestor is made from a nsIDOMWindow,