From: Patrik Lundin Date: Sun, 18 May 2014 11:09:39 +0000 (+0200) Subject: Remove trailing comma in ldns_enum_status. X-Git-Tag: release-1.7.0-rc1~161^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8d72ffb3b8843a7c18de21f32089c513a498210;p=thirdparty%2Fldns.git Remove trailing comma in ldns_enum_status. 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. --- diff --git a/ldns/error.h b/ldns/error.h index 41b99ad1..cc11958d 100644 --- a/ldns/error.h +++ b/ldns/error.h @@ -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;