[epiphany] ephy-session: another micro-fix



commit 91b9b4b6aa199d3feac08f8ae8f8398064ab0d44
Author: Xan Lopez <xan igalia com>
Date:   Wed Aug 29 21:58:43 2012 +0200

    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.

 src/ephy-session.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 128ad8a..5ba1664 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]