[epiphany] ephy-session: remove redundant string comparison
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-session: remove redundant string comparison
- Date: Wed, 29 Aug 2012 15:57:09 +0000 (UTC)
commit 0591aad88596e01287e44f89186afca198c7b639
Author: Claudio Saavedra <csaavedra igalia com>
Date: Wed Aug 29 18:56:07 2012 +0300
ephy-session: remove redundant string comparison
The previous clause already ensures this won't be TRUE.
src/ephy-session.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 46fd953..128ad8a 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]