From: Paweł Forysiuk Date: Sat, 27 Aug 2011 16:29:50 +0000 (+0200) Subject: Remove spurious slot_id variable fom prepare_speed_dial_html X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1321b007230c2b5661da1bcaa727630eb93ad41;p=midori Remove spurious slot_id variable fom prepare_speed_dial_html --- diff --git a/midori/midori-view.c b/midori/midori-view.c index d9fb43d2..ca8f2fa5 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -3755,7 +3755,6 @@ prepare_speed_dial_html (MidoriView* view) if (uri && *uri && *uri != '#') { - gchar* slot_id = g_strdup_printf ("s%d", slot); gchar* title = g_key_file_get_string (key_file, dial_entry, "title", NULL); gchar* thumb_file = sokoke_build_thumbnail_path (uri); gchar* encoded; @@ -3772,7 +3771,6 @@ prepare_speed_dial_html (MidoriView* view) { encoded = g_strdup (""); } - g_free (slot_id); g_free (thumb_file); g_string_append_printf (markup,