aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-08-30 03:58:43 +0800
committerXan Lopez <xan@igalia.com>2012-08-30 03:58:43 +0800
commit91b9b4b6aa199d3feac08f8ae8f8398064ab0d44 (patch)
tree92966d240aef6ab6dc94602d318db7bbf2b92ddb /src
parentcea214617f12ce725dcead5071b6b50831bd2488 (diff)
downloadgsoc2013-epiphany-91b9b4b6aa199d3feac08f8ae8f8398064ab0d44.tar.gz
gsoc2013-epiphany-91b9b4b6aa199d3feac08f8ae8f8398064ab0d44.tar.zst
gsoc2013-epiphany-91b9b4b6aa199d3feac08f8ae8f8398064ab0d44.zip
ephy-session: another micro-fix
While we are at it, the fact that 'url' is not NULL is checked before the if block, so this is also redundant.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 128ad8afc..5ba166447 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -1000,7 +1000,7 @@ parse_embed (xmlNodePtr child,
EPHY_NEW_TAB_APPEND_LAST);
}
}
- else if (was_loading && url != NULL)
+ else if (was_loading)
{
/* Shows a message to the user that warns that this page was
loading during crash and make Epiphany crash again,