[gmime] Removed dead code



commit 988171cedc50e72b441e581bd10ec210aa7604cd
Author: Jeffrey Stedfast <jestedfa microsoft com>
Date:   Thu Mar 16 15:44:39 2017 -0400

    Removed dead code

 gmime/gmime-header.c   |   12 ------------
 gmime/gmime-internal.h |    1 -
 2 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/gmime/gmime-header.c b/gmime/gmime-header.c
index 4e90183..0488476 100644
--- a/gmime/gmime-header.c
+++ b/gmime/gmime-header.c
@@ -519,18 +519,6 @@ g_mime_header_list_contains (GMimeHeaderList *headers, const char *name)
 }
 
 
-gboolean
-_g_mime_header_list_has_raw_value (GMimeHeaderList *headers, const char *name)
-{
-       GMimeHeader *header;
-       
-       if (!(header = g_hash_table_lookup (headers->hash, name)))
-               return FALSE;
-       
-       return header->raw_value != NULL;
-}
-
-
 void
 _g_mime_header_list_prepend (GMimeHeaderList *headers, const char *name, const char *value, const char 
*raw_value, gint64 offset)
 {
diff --git a/gmime/gmime-internal.h b/gmime/gmime-internal.h
index 79b9b80..0ddf70b 100644
--- a/gmime/gmime-internal.h
+++ b/gmime/gmime-internal.h
@@ -54,7 +54,6 @@ G_GNUC_INTERNAL void _g_mime_header_set_offset (GMimeHeader *header, gint64 offs
 /* GMimeHeaderList */
 G_GNUC_INTERNAL GMimeParserOptions *_g_mime_header_list_get_options (GMimeHeaderList *headers);
 G_GNUC_INTERNAL void _g_mime_header_list_set_options (GMimeHeaderList *headers, GMimeParserOptions *options);
-G_GNUC_INTERNAL gboolean _g_mime_header_list_has_raw_value (GMimeHeaderList *headers, const char *name);
 G_GNUC_INTERNAL void _g_mime_header_list_prepend (GMimeHeaderList *headers, const char *name, const char 
*value, const char *raw_value, gint64 offset);
 G_GNUC_INTERNAL void _g_mime_header_list_append (GMimeHeaderList *headers, const char *name, const char 
*value, const char *raw_value, gint64 offset);
 G_GNUC_INTERNAL void _g_mime_header_list_set (GMimeHeaderList *headers, const char *name, const char *value, 
const char *raw_value, gint64 offset);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]