[Commits] [SCM] claws branch, gtk2, updated. 3.19.1-43-g436fb6387

mones at claws-mail.org mones at claws-mail.org
Sun Apr 9 14:46:09 UTC 2023


The branch, gtk2 has been updated
       via  436fb6387ecb988df48ae0b7418148fedab9e649 (commit)
      from  d7a1eee4c8a0dc5ebdf659e32bf49ff40ffb0db3 (commit)

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


- Log -----------------------------------------------------------------
commit 436fb6387ecb988df48ae0b7418148fedab9e649
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sun Apr 9 16:44:47 2023 +0200

    Remove unused function warning
    
    addrbook.c:223:13: warning: ‘addrbook_print_book’ defined but not used

diff --git a/src/addrbook.c b/src/addrbook.c
index 61b1c817f..3ed8c2ab4 100644
--- a/src/addrbook.c
+++ b/src/addrbook.c
@@ -215,6 +215,7 @@ void addrbook_free_book(AddressBookFile *book)
 	g_free(book);
 }
 
+#ifdef DEBUG_ADDRBOOK
 /**
  * Print address book header.
  * \param book   Address book.
@@ -231,7 +232,6 @@ static void addrbook_print_book(AddressBookFile *book, FILE *stream)
 	addrcache_print(book->addressCache, stream);
 }
 
-#ifdef DEBUG_ADDRBOOK
 /**
  * Dump entire address book traversing folders.
  * \param book   Address book.

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list