From f814debfe22d142a2e462e4b4ae0ea213f1af416 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 23 Oct 2013 10:21:36 +0100 Subject: Remove unreachable safty net. --- desktop/hotlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop/hotlist.c') diff --git a/desktop/hotlist.c b/desktop/hotlist.c index bedb09535..372ae5c7c 100644 --- a/desktop/hotlist.c +++ b/desktop/hotlist.c @@ -93,7 +93,7 @@ static nserror hotlist_create_treeview_field_visits_data( e->data[HL_LAST_VISIT].field = hl_ctx.fields[HL_LAST_VISIT].field; e->data[HL_LAST_VISIT].value = last_visited2; - e->data[HL_LAST_VISIT].value_len = (last_visited2 != NULL) ? 24 : 0; + e->data[HL_LAST_VISIT].value_len = 24; /* Visits */ len = snprintf(buffer, 16, "%u", data->visits); -- cgit v1.2.3