Remove useless variable and code.
authorLaurent Monin <zas@norz.org>
Thu, 30 Aug 2012 12:18:53 +0000 (14:18 +0200)
committerLaurent Monin <zas@norz.org>
Thu, 30 Aug 2012 12:18:53 +0000 (14:18 +0200)
src/layout_util.c

index fe9fbe5..6126f8d 100644 (file)
@@ -2023,8 +2023,6 @@ static gboolean layout_editors_reload_idle_cb(gpointer data)
 
 void layout_editors_reload_start(void)
 {
-       GList *work;
-
        DEBUG_1("%s layout_editors_reload_start", get_exec_time());
 
        if (layout_editors_reload_idle_id != -1)
@@ -2033,8 +2031,6 @@ void layout_editors_reload_start(void)
                string_list_free(layout_editors_desktop_files);
                }
 
-       work = layout_window_list;
-
        editor_table_clear();
        layout_editors_reload_idle_id = g_idle_add(layout_editors_reload_idle_cb, NULL);
 }