commit 220a4478ca435cf7d86687831af1923308a65e8d
parent 4e2a78fd7d642785fd74ae45ca15a8544bb8b743
Author: Ricardo Mones <ricardo@mones.org>
Date: Sat, 16 Nov 2013 16:02:45 +0100
Clean att_remover warnings
Cleans:
• att_remover.c:503:16: warning: variable 'path' set but not used
• att_remover.c:534:15: warning: variable 'summaryview' set but not used
Diffstat:
1 file changed, 0 insertions(+), 8 deletions(-)
diff --git a/src/plugins/att_remover/att_remover.c b/src/plugins/att_remover/att_remover.c
@@ -500,7 +500,6 @@ static guint main_menu_id = 0;
gint plugin_init(gchar **error)
{
MainWindow *mainwin = mainwindow_get_mainwindow();
- static gchar *path[3];
gchar *rcpath;
if( !check_plugin_version(MAKE_NUMERIC_VERSION(3,6,1,27),
@@ -516,10 +515,6 @@ gint plugin_init(gchar **error)
"Message/RemoveAtt", GTK_UI_MANAGER_MENUITEM,
context_menu_id)
- path[0] = _("Plugins");
- path[1] = "AttRemover";
- path[2] = NULL;
-
prefs_set_default(prefs);
rcpath = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, COMMON_RC, NULL);
prefs_read_config(prefs, PREFS_BLOCK_NAME, rcpath, NULL);
@@ -531,7 +526,6 @@ gint plugin_init(gchar **error)
gboolean plugin_done(void)
{
MainWindow *mainwin = mainwindow_get_mainwindow();
- SummaryView *summaryview = NULL;
PrefFile *pref_file;
gchar *rc_file_path;
@@ -558,8 +552,6 @@ gboolean plugin_done(void)
if (mainwin == NULL)
return TRUE;
- summaryview = mainwin->summaryview;
-
MENUITEM_REMUI_MANAGER(mainwin->ui_manager,mainwin->action_group, "Message/RemoveAtt", main_menu_id);
main_menu_id = 0;