talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 915da5896b1f9ca11c668cb40ca3f7eb2562e014
parent 489d0f159f031c0c28f641175fc915c5c7b915fc
Author: Ricardo Mones <ricardo@mones.org>
Date:   Tue, 13 Feb 2024 20:53:05 +0100

Remove useless code

Diffstat:
Msrc/gtk/gtkaspell.c | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git 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,