[Commits] [SCM] claws branch, master, updated. 3.18.0-331-g32b585d59

wwp at claws-mail.org wwp at claws-mail.org
Fri Jan 21 10:15:55 CET 2022


The branch, master has been updated
       via  32b585d59248a52b53e2052f1c9e2129a0479f21 (commit)
      from  b87fc3c418ffe815c2d2671e6ca1e826244ff36d (commit)

Summary of changes:
 src/plugins/vcalendar/vcalendar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 32b585d59248a52b53e2052f1c9e2129a0479f21
Author: wwp <subscript at free.fr>
Date:   Fri Jan 21 10:09:04 2022 +0100

    Fix wrong call to g_return_val_if_fail in a func w/ no expected return value.

diff --git a/src/plugins/vcalendar/vcalendar.c b/src/plugins/vcalendar/vcalendar.c
index 4d7243621..5f82fc38d 100644
--- a/src/plugins/vcalendar/vcalendar.c
+++ b/src/plugins/vcalendar/vcalendar.c
@@ -926,7 +926,7 @@ static gboolean vcalviewer_uribtn_cb(GtkButton *widget, gpointer data)
 
 void vcalendar_refresh_folder_contents(FolderItem *item)
 {
-	g_return_val_if_fail(item != NULL, NULL);
+	g_return_if_fail(item != NULL);
 
 	Folder *folder = folder_find_from_name (PLUGIN_NAME, vcal_folder_get_class());
 	if (folder && item->folder == folder) {

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list