[Commits] [SCM] claws branch, master, updated. 4.1.1-55-g4ba880512

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


The branch, master has been updated
       via  4ba880512f703ef204330f1e5b746be8b2255464 (commit)
      from  8ac5c0b3a6e043e16fc34c85d0e3e4d31cc2f52e (commit)

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


- Log -----------------------------------------------------------------
commit 4ba880512f703ef204330f1e5b746be8b2255464
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