]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doctags): remove unused header include file
authorMao-Yining <mao.yining@outlook.com>
Wed, 18 Feb 2026 22:19:06 +0000 (22:19 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 18 Feb 2026 22:19:06 +0000 (22:19 +0000)
closes: #19465

Signed-off-by: Mao-Yining <mao.yining@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/doctags.c

index 8822dcb9ac0b7dbfaea7e017af9d1fa24a336b42..8820aa5622f7614e2f8da6bbf3fc24a5b82d4d03 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <stdio.h>
 #include <string.h>
-#include <ctype.h>
 #include <stdlib.h>
 
 #define LINELEN 200
@@ -63,8 +62,8 @@ main(int argc, char **argv)
                                        // followed by a white character or end-of-line.
                                        if (p == p2
                                                        && (p1 == line || p1[-1] == ' ' || p1[-1] == '\t')
-                                                               && (strchr(" \t\n\r", p[1]) != NULL
-                                                                       || p[1] == '\0'))
+                                                       && (strchr(" \t\n\r", p[1]) != NULL
+                                                               || p[1] == '\0'))
                                        {
                                                *p2 = '\0';
                                                ++p1;