]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.0.1675: unused macro argument in libvterm v8.0.1675
authorBram Moolenaar <Bram@vim.org>
Sun, 8 Apr 2018 10:17:04 +0000 (12:17 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 8 Apr 2018 10:17:04 +0000 (12:17 +0200)
Problem:    Unused macro argument in libvterm. (Randall W. Morris)
Solution:   Remove the argument.

src/libvterm/src/parser.c
src/version.c

index b07bb94a23a4809e8616b7fb2408bc326a3e8075..c15a5a59d95951bbe93cd6b197ae6f548f499897 100644 (file)
@@ -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)
 
index e95a62d3d3b73c52a7c88e0b57f56d1fce83447a..38fe7d1820ceb4c181b160687c19148ae6d52af7 100644 (file)
@@ -762,6 +762,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1675,
 /**/
     1674,
 /**/