]> granicus.if.org Git - neomutt/commitdiff
drop unused code in #if 0
authorRichard Russon <rich@flatcap.org>
Fri, 24 Nov 2017 15:07:54 +0000 (15:07 +0000)
committerRichard Russon <rich@flatcap.org>
Sun, 26 Nov 2017 22:42:56 +0000 (22:42 +0000)
mutt_notmuch.c

index dffffe93c0cf01c7a93c38ccca9ab3e55476e9a8..18c4ef866b681763df91d916e3e18ea34679ccda 100644 (file)
@@ -128,46 +128,6 @@ struct NmCtxData
   bool progress_ready : 1; /**< A progress bar has been initialised */
 };
 
-#if 0
-/**
- * debug_print_filenames - Show a message's filenames
- * @param msg Notmuch Message
- *
- * Print a list of all the filenames associated with a Notmuch message.
- */
-static void debug_print_filenames(notmuch_message_t *msg)
-{
-  notmuch_filenames_t *ls = NULL;
-  const char *id = notmuch_message_get_message_id(msg);
-
-  for (ls = notmuch_message_get_filenames(msg);
-       ls && notmuch_filenames_valid(ls);
-       notmuch_filenames_move_to_next(ls))
-  {
-    mutt_debug (2, "nm: %s: %s\n", id, notmuch_filenames_get(ls));
-  }
-}
-
-/**
- * debug_print_tags - Show a message's tags
- * @param msg Notmuch Message
- *
- * Print a list of all the tags associated with a Notmuch message.
- */
-static void debug_print_tags(notmuch_message_t *msg)
-{
-  notmuch_tags_t *tags = NULL;
-  const char *id = notmuch_message_get_message_id(msg);
-
-  for (tags = notmuch_message_get_tags(msg);
-       tags && notmuch_tags_valid(tags);
-       notmuch_tags_move_to_next(tags))
-  {
-    mutt_debug (2, "nm: %s: %s\n", id, notmuch_tags_get(tags));
-  }
-}
-#endif
-
 /**
  * free_hdrdata - Free header data attached to an email
  * @param data Header data