diff options
author | Dominique Pelle <dominique.pelle@gmail.com> | 2023-03-12 21:20:59 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-03-12 21:20:59 +0000 |
commit | e764d1b4219e6615a04df1c3a6a5c0210a0a7dac (patch) | |
tree | 547326cc9cf10d5de85ba975470b076aafe02d89 /src/os_unix.c | |
parent | d13dd30240e32071210f55b587182ff48757ea46 (diff) |
patch 9.0.1403: unused variables and functionsv9.0.1403
Problem: Unused variables and functions.
Solution: Delete items and adjust #ifdefs. (Dominique Pellé, closes #12145)
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 746bcff797..5801965874 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -2434,6 +2434,7 @@ vim_is_iris(char_u *name) || STRCMP(name, "builtin_iris-ansi") == 0); } +#if defined(VMS) || defined(PROTO) /* * Return TRUE if "name" is a vt300-like terminal name. */ @@ -2448,6 +2449,7 @@ vim_is_vt300(char_u *name) && vim_strchr((char_u *)"12345", name[2]) != NULL) || STRCMP(name, "builtin_vt320") == 0); } +#endif /* * Insert user name in s[len]. |