[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-371-g9d279a86c

jonathan at claws-mail.org jonathan at claws-mail.org
Mon Nov 29 08:27:00 CET 2021


The branch, gtk3 has been updated
       via  9d279a86c02650b8fd45e096514f1c3c36df5e3f (commit)
      from  e81e23ed908b1b0d497b02d4e9afe84b7d2a8655 (commit)

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


- Log -----------------------------------------------------------------
commit 9d279a86c02650b8fd45e096514f1c3c36df5e3f
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 acd8a75e1..cd5a29403 100644
--- 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)

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list