diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-04-08 12:17:04 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-04-08 12:17:04 +0200 |
commit | 820082914122d5bf7b6e89ff30cf364ad40a560f (patch) | |
tree | d6fbb1bf169be5ea6ada98707cd57f883746f004 | |
parent | 77557a7ae66830cb21c79d3a2b48a93b086599b3 (diff) | |
download | vim-git-820082914122d5bf7b6e89ff30cf364ad40a560f.tar.gz |
patch 8.0.1675: unused macro argument in libvtermv8.0.1675
Problem: Unused macro argument in libvterm. (Randall W. Morris)
Solution: Remove the argument.
-rw-r--r-- | src/libvterm/src/parser.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/libvterm/src/parser.c b/src/libvterm/src/parser.c index b07bb94a2..c15a5a59d 100644 --- a/src/libvterm/src/parser.c +++ b/src/libvterm/src/parser.c @@ -141,7 +141,7 @@ size_t vterm_input_write(VTerm *vt, const char *bytes, size_t len) break; } -#define ENTER_STRING_STATE(st) do { vt->parser.state = STRING; string_start = bytes + pos + 1; } while(0) +#define ENTER_STRING_STATE() do { vt->parser.state = STRING; string_start = bytes + pos + 1; } while(0) #define ENTER_STATE(st) do { vt->parser.state = st; string_start = NULL; } while(0) #define ENTER_NORMAL_STATE() ENTER_STATE(NORMAL) diff --git a/src/version.c b/src/version.c index e95a62d3d..38fe7d182 100644 --- a/src/version.c +++ b/src/version.c @@ -763,6 +763,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1675, +/**/ 1674, /**/ 1673, |