Fix use of uninitialized variable in addressbook edit person dialog.
authorAndrej Kacian <ticho@claws-mail.org>
Mon, 5 Mar 2018 09:33:57 +0000 (10:33 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Mon, 5 Mar 2018 09:33:57 +0000 (10:33 +0100)
src/editaddress.c

index ee157b9..9b158ed 100644 (file)
@@ -445,7 +445,7 @@ static void edit_person_email_delete( gpointer data ) {
        GtkTreeIter iter;
        GtkTreeSelection *sel;
        ItemEMail *email;
-       gboolean has_row;
+       gboolean has_row = FALSE;
        gint n;
 
        edit_person_email_clear( NULL );