summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-27 15:21:32 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-27 15:21:32 +0100
commit43acbce1bb0a33edc67496b220cae629ad95d2d8 (patch)
treee47403fe874bd7ee5457faeb9b8c196f3e4ea7b4
parent187db50d0499aecf4cfd42fb4db0a1bebf61c8cd (diff)
downloadvim-git-43acbce1bb0a33edc67496b220cae629ad95d2d8.tar.gz
patch 7.4.1427v7.4.1427
Problem: Trailing comma in enums is not ANSI C. Solution: Remove the trailing commas.
-rw-r--r--src/alloc.h2
-rw-r--r--src/gui_mac.c2
-rw-r--r--src/version.c2
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
@@ -749,6 +749,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1427,
+/**/
1426,
/**/
1425,