aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-08-29 23:56:07 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-08-29 23:56:32 +0800
commit0591aad88596e01287e44f89186afca198c7b639 (patch)
tree23e1e0871320e03aee93e9f5a160447a2a054d7a /src
parent33c6eb2bbc1e66092919ae253c120a7c6dce3204 (diff)
downloadgsoc2013-epiphany-0591aad88596e01287e44f89186afca198c7b639.tar
gsoc2013-epiphany-0591aad88596e01287e44f89186afca198c7b639.tar.gz
gsoc2013-epiphany-0591aad88596e01287e44f89186afca198c7b639.tar.bz2
gsoc2013-epiphany-0591aad88596e01287e44f89186afca198c7b639.tar.lz
gsoc2013-epiphany-0591aad88596e01287e44f89186afca198c7b639.tar.xz
gsoc2013-epiphany-0591aad88596e01287e44f89186afca198c7b639.tar.zst
gsoc2013-epiphany-0591aad88596e01287e44f89186afca198c7b639.zip
ephy-session: remove redundant string comparison
The previous clause already ensures this won't be TRUE.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-session.c3
1 files changed, 1 insertions, 2 deletions
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,