]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Remove trailing comma in ldns_enum_status.
authorPatrik Lundin <patrik.lundin.swe@gmail.com>
Sun, 18 May 2014 11:09:39 +0000 (13:09 +0200)
committerWillem Toorop <willem@nlnetlabs.nl>
Mon, 19 May 2014 08:50:41 +0000 (10:50 +0200)
This causes warnings with -pedantic on OpenBSD using gcc 4.2.1. Other
enums in the code does not have such a comma.

Pointed out by sthen at openbsd.

ldns/error.h

index 41b99ad146d98f3eb1375db2334aaa17bb0a33ac..cc11958d53c5a7d393506c9412bfa189f9e8d7a5 100644 (file)
@@ -126,7 +126,7 @@ enum ldns_enum_status {
        LDNS_STATUS_INVALID_TAG,
        LDNS_STATUS_TYPE_NOT_IN_BITMAP,
        LDNS_STATUS_INVALID_RDF_TYPE,
-       LDNS_STATUS_RDATA_OVERFLOW,
+       LDNS_STATUS_RDATA_OVERFLOW
 };
 typedef enum ldns_enum_status ldns_status;