Remove spurious slot_id variable fom prepare_speed_dial_html

This commit is contained in:
Paweł Forysiuk 2011-08-27 18:29:50 +02:00 committed by Christian Dywan
parent f748a9b8a4
commit c1321b0072

View file

@ -3755,7 +3755,6 @@ prepare_speed_dial_html (MidoriView* view)
if (uri && *uri && *uri != '#') 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* title = g_key_file_get_string (key_file, dial_entry, "title", NULL);
gchar* thumb_file = sokoke_build_thumbnail_path (uri); gchar* thumb_file = sokoke_build_thumbnail_path (uri);
gchar* encoded; gchar* encoded;
@ -3772,7 +3771,6 @@ prepare_speed_dial_html (MidoriView* view)
{ {
encoded = g_strdup (""); encoded = g_strdup ("");
} }
g_free (slot_id);
g_free (thumb_file); g_free (thumb_file);
g_string_append_printf (markup, g_string_append_printf (markup,