summaryrefslogtreecommitdiff
path: root/src/libvterm
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-08 12:17:04 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-08 12:17:04 +0200
commit820082914122d5bf7b6e89ff30cf364ad40a560f (patch)
treed6fbb1bf169be5ea6ada98707cd57f883746f004 /src/libvterm
parent77557a7ae66830cb21c79d3a2b48a93b086599b3 (diff)
downloadvim-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.
Diffstat (limited to 'src/libvterm')
-rw-r--r--src/libvterm/src/parser.c2
1 files changed, 1 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)