[Commits] [SCM] claws branch, master, updated. 4.2.0-51-g915da5896

mones at claws-mail.org mones at claws-mail.org
Tue Feb 13 19:54:03 UTC 2024


The branch, master has been updated
       via  915da5896b1f9ca11c668cb40ca3f7eb2562e014 (commit)
      from  489d0f159f031c0c28f641175fc915c5c7b915fc (commit)

Summary of changes:
 src/gtk/gtkaspell.c | 6 ------
 1 file changed, 6 deletions(-)


- Log -----------------------------------------------------------------
commit 915da5896b1f9ca11c668cb40ca3f7eb2562e014
Author: Ricardo Mones <ricardo at mones.org>
Date:   Tue Feb 13 20:53:05 2024 +0100

    Remove useless code

diff --git a/src/gtk/gtkaspell.c b/src/gtk/gtkaspell.c
index 524198970..97d1b4586 100644
--- a/src/gtk/gtkaspell.c
+++ b/src/gtk/gtkaspell.c
@@ -648,7 +648,6 @@ static void button_press_intercept_cb(GtkTextView *gtktext,
 static GtkAspeller *gtkaspeller_new(Dictionary *dictionary)
 {
 	GtkAspeller	*gtkaspeller = NULL;
-	GtkAspeller	*tmp;
 	Dictionary	*dict;
 
 	cm_return_val_if_fail(gtkaspellcheckers, NULL);
@@ -663,11 +662,6 @@ static GtkAspeller *gtkaspeller_new(Dictionary *dictionary)
 
 	dict = dictionary_dup(dictionary);
 
-	tmp = g_new0(GtkAspeller, 1);
-	tmp->dictionary = dict;
-
-	g_free(tmp);
-
 	if ((gtkaspeller = gtkaspeller_real_new(dict)) != NULL) {
 		gtkaspellcheckers->checkers = g_slist_append(
 				gtkaspellcheckers->checkers,

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list