[Commits] [SCM] claws branch, master, updated. 3.18.0-312-gc8f34c6fc

jonathan at claws-mail.org jonathan at claws-mail.org
Fri Dec 31 19:17:17 UTC 2021


The branch, master has been updated
       via  c8f34c6fc5fc080f0cb26ccc4f45bbfc0d331d69 (commit)
      from  db7fb751a862428391345f0cc5d41c3524451635 (commit)

Summary of changes:
 src/toolbar.c | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)


- Log -----------------------------------------------------------------
commit c8f34c6fc5fc080f0cb26ccc4f45bbfc0d331d69
Author: Jonathan Boeing <jonathan at claws-mail.org>
Date:   Sat Nov 20 02:48:54 2021 -0700

    Fix clang -Wmisleading-indentation warning

diff --git a/src/toolbar.c b/src/toolbar.c
index ed3226161..ce3e3736a 100644
--- a/src/toolbar.c
+++ b/src/toolbar.c
@@ -2671,13 +2671,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)

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list