From 43acbce1bb0a33edc67496b220cae629ad95d2d8 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar <Bram@vim.org> Date: Sat, 27 Feb 2016 15:21:32 +0100 Subject: [PATCH] patch 7.4.1427 Problem: Trailing comma in enums is not ANSI C. Solution: Remove the trailing commas. --- src/alloc.h | 2 +- src/gui_mac.c | 2 +- src/version.c | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/alloc.h b/src/alloc.h index 7a992c689..90a987807 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 c766ed035..c87456e1f 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 84ede58ab..359d8df3b 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, /**/ -- 2.40.0