[gmime] Fixed gcc warnings for enums



commit 852bc81c10d41072845d6bb7c94b221a83920302
Author: Jeffrey Stedfast <fejj gnome org>
Date:   Fri Mar 9 21:00:24 2012 -0500

    Fixed gcc warnings for enums
    
    2012-03-09  Daniel Gillmor  <dkg fifthhorseman net>
    
    	* gmime/gmime-certificate.h: Remove the trailing comma from the
    	last enum item to silence gcc -pedantic warnings.
    
    	* gmime/gmime-message.h: Same.

 ChangeLog                 |    7 +++++++
 gmime/gmime-certificate.h |    2 +-
 gmime/gmime-message.h     |    2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3985d67..3363c80 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-03-09  Daniel Gillmor  <dkg fifthhorseman net>
+
+	* gmime/gmime-certificate.h: Remove the trailing comma from the
+	last enum item to silence gcc -pedantic warnings.
+
+	* gmime/gmime-message.h: Same.
+
 2012-03-09  Jeffrey Stedfast  <fejj gnome org>
 
 	* gmime/gmime-parser.c (parser_step_headers): Be lenient from
diff --git a/gmime/gmime-certificate.h b/gmime/gmime-certificate.h
index 710fda2..d154e4c 100644
--- a/gmime/gmime-certificate.h
+++ b/gmime/gmime-certificate.h
@@ -80,7 +80,7 @@ typedef enum {
 	GMIME_DIGEST_ALGO_SHA384      = 9,
 	GMIME_DIGEST_ALGO_SHA512      = 10,
 	GMIME_DIGEST_ALGO_SHA224      = 11,
-	GMIME_DIGEST_ALGO_MD4         = 301,
+	GMIME_DIGEST_ALGO_MD4         = 301
 } GMimeDigestAlgo;
 
 /**
diff --git a/gmime/gmime-message.h b/gmime/gmime-message.h
index 81b1dde..d34333a 100644
--- a/gmime/gmime-message.h
+++ b/gmime/gmime-message.h
@@ -55,7 +55,7 @@ typedef struct _GMimeMessageClass GMimeMessageClass;
 typedef enum _GMimeRecipientType {
 	GMIME_RECIPIENT_TYPE_TO,
 	GMIME_RECIPIENT_TYPE_CC,
-	GMIME_RECIPIENT_TYPE_BCC,
+	GMIME_RECIPIENT_TYPE_BCC
 } GMimeRecipientType;
 
 



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