talons

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

commit 9d279a86c02650b8fd45e096514f1c3c36df5e3f
parent e81e23ed908b1b0d497b02d4e9afe84b7d2a8655
Author: Jonathan Boeing <jonathan@claws-mail.org>
Date:   Sat, 20 Nov 2021 02:48:54 -0700

Fix clang -Wmisleading-indentation warning

Diffstat:
Msrc/toolbar.c | 12+++++-------
1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/src/toolbar.c b/src/toolbar.c @@ -2672,13 +2672,11 @@ void toolbar_item_destroy(ToolbarItem *item) { cm_return_if_fail(item != NULL); - if (item) { - if (item->file) \ - g_free(item->file); \ - if (item->text) \ - g_free(item->text); \ - g_free(item);\ - } + if (item->file) + g_free(item->file); + if (item->text) + g_free(item->text); + g_free(item); } void toolbar_update(ToolbarType type, gpointer data)