From: Bram Moolenaar Date: Sat, 27 Feb 2016 14:21:32 +0000 (+0100) Subject: patch 7.4.1427 X-Git-Tag: v7.4.1427 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=43acbce1bb0a33edc67496b220cae629ad95d2d8;p=thirdparty%2Fvim.git patch 7.4.1427 Problem: Trailing comma in enums is not ANSI C. Solution: Remove the trailing commas. --- diff --git a/src/alloc.h b/src/alloc.h index 7a992c689f..90a9878072 100644 --- a/src/alloc.h +++ b/src/alloc.h @@ -17,5 +17,5 @@ typedef enum { aid_qf_namebuf, aid_qf_errmsg, aid_qf_pattern, - aid_last, + aid_last } alloc_id_T; diff --git a/src/gui_mac.c b/src/gui_mac.c index c766ed035b..c87456e1f6 100644 --- a/src/gui_mac.c +++ b/src/gui_mac.c @@ -6513,7 +6513,7 @@ im_get_status(void) static MenuRef contextMenu = NULL; enum { - kTabContextMenuId = 42, + kTabContextMenuId = 42 }; // the caller has to CFRelease() the returned string diff --git a/src/version.c b/src/version.c index 84ede58ab3..359d8df3be 100644 --- a/src/version.c +++ b/src/version.c @@ -748,6 +748,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1427, /**/ 1426, /**/