[epiphany] ephy-history-service-hosts-table: init host to NULL



commit 7f1d95504677324db94b5f4b3be188e5ef0f7a4c
Author: Diego Escalante Urrelo <diegoe igalia com>
Date:   Sat Mar 3 00:56:14 2012 -0500

    ephy-history-service-hosts-table: init host to NULL
    
    https://bugzilla.gnome.org/show_bug.cgi?id=671594

 lib/history/ephy-history-service-hosts-table.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/history/ephy-history-service-hosts-table.c b/lib/history/ephy-history-service-hosts-table.c
index 880a639..aced16e 100644
--- a/lib/history/ephy-history-service-hosts-table.c
+++ b/lib/history/ephy-history-service-hosts-table.c
@@ -298,7 +298,7 @@ ephy_history_service_get_host_row_from_url (EphyHistoryService *self,
 {
   GList *host_locations, *l;
   char *hostname;
-  EphyHistoryHost *host;
+  EphyHistoryHost *host = NULL;
 
   host_locations = get_hostname_and_locations (url, &hostname);
 



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