]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1424: unused macros are defined v9.0.1424
authorBram Moolenaar <Bram@vim.org>
Wed, 22 Mar 2023 22:03:16 +0000 (22:03 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 22 Mar 2023 22:03:16 +0000 (22:03 +0000)
Problem:    Unused macros are defined.
Solution:   Remove the unused macros.

src/profiler.c
src/version.c

index 4fc772d00eea1f65f50253046b40ed58143b3ec1..3d37a64562d6dd92f55de336eb01551ab14d152e 100644 (file)
@@ -436,21 +436,13 @@ static enum
 
 static char *pexpand_cmds[] = {
                        "start",
-#define PROFCMD_START  0
                        "stop",
-#define PROFCMD_STOP   1
                        "pause",
-#define PROFCMD_PAUSE  2
                        "continue",
-#define PROFCMD_CONTINUE 3
                        "func",
-#define PROFCMD_FUNC   4
                        "file",
-#define PROFCMD_DUMP   5
                        "dump",
-#define PROFCMD_FILE   6
                        NULL
-#define PROFCMD_LAST   7
 };
 
 /*
index 3b9381961a384843154e02ba75ee0805142ded23..243873303c502f88f91d1e6ca32626882607cd67 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1424,
 /**/
     1423,
 /**/