Remove unused variable
authorRicardo Mones <ricardo@mones.org>
Thu, 2 Mar 2017 15:36:33 +0000 (16:36 +0100)
committerRicardo Mones <ricardo@mones.org>
Thu, 2 Mar 2017 15:36:33 +0000 (16:36 +0100)
prefs_actions.c:594:12: warning: unused variable ‘action_nb’

src/prefs_actions.c

index eecde9b..a925e42 100644 (file)
@@ -591,7 +591,7 @@ static void prefs_actions_set_list(void)
 static gint prefs_actions_clist_set_row(gint row)
 {
        const gchar *entry_text;
 static gint prefs_actions_clist_set_row(gint row)
 {
        const gchar *entry_text;
-       gint len, action_nb;
+       gint len;
        gchar action[PREFSBUFSIZE];
        gchar *new_action;
 
        gchar action[PREFSBUFSIZE];
        gchar *new_action;