diff options
author | Michael Catanzaro <mcatanzaro@gnome.org> | 2019-12-27 11:20:08 -0600 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@gnome.org> | 2019-12-27 11:20:30 -0600 |
commit | 93deb727a6be9985b29aa08ed493471952b23f54 (patch) | |
tree | 8578c27b8fcaf2f364b375bd13632211046236d2 | |
parent | 681dbc152a8348ed76e3511ce2689607de65a564 (diff) | |
download | epiphany-93deb727a6be9985b29aa08ed493471952b23f54.tar.gz |
history: add assertion to try placating scan-build
-rw-r--r-- | lib/history/ephy-history-service-hosts-table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/history/ephy-history-service-hosts-table.c b/lib/history/ephy-history-service-hosts-table.c index e4a66ea78..4fed463e6 100644 --- a/lib/history/ephy-history-service-hosts-table.c +++ b/lib/history/ephy-history-service-hosts-table.c @@ -409,6 +409,7 @@ ephy_history_service_get_host_row_from_url (EphyHistoryService *self, EphyHistoryHost *host = NULL; host_locations = get_hostname_and_locations (url, &hostname); + g_assert (host_locations != NULL && hostname != NULL); for (l = host_locations; l != NULL; l = l->next) { host = ephy_history_service_get_host_row (self, l->data, NULL); |