From 0591aad88596e01287e44f89186afca198c7b639 Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Wed, 29 Aug 2012 18:56:07 +0300 Subject: ephy-session: remove redundant string comparison The previous clause already ensures this won't be TRUE. --- src/ephy-session.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ephy-session.c') diff --git a/src/ephy-session.c b/src/ephy-session.c index 46fd9531c..128ad8afc 100644 --- a/src/ephy-session.c +++ b/src/ephy-session.c @@ -1000,8 +1000,7 @@ parse_embed (xmlNodePtr child, EPHY_NEW_TAB_APPEND_LAST); } } - else if (was_loading && url != NULL && - strcmp ((const char *) url, "about:blank") != 0) + else if (was_loading && url != NULL) { /* Shows a message to the user that warns that this page was loading during crash and make Epiphany crash again, -- cgit v1.2.3