diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-20 15:30:40 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-20 15:30:40 +0100 |
commit | 113e10721f42fc2500b63fe95193f8665658a90c (patch) | |
tree | 4395acb733cc8d7a798df8f4a91c5c1afa084841 /src/option.c | |
parent | 1f20daa1d784e2d8ae13db5b9c8abbb648dd2a03 (diff) | |
download | vim-git-113e10721f42fc2500b63fe95193f8665658a90c.tar.gz |
patch 8.1.0785: depending on the configuration some functions are unusedv8.1.0785
Problem: Depending on the configuration some functions are unused.
Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle,
closes #3822)
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/option.c b/src/option.c index 3be4447dd..8deac536a 100644 --- a/src/option.c +++ b/src/option.c @@ -10699,6 +10699,7 @@ comp_col(void) #endif } +#if defined(FEAT_PYTHON) || defined(FEAT_PYTHON3) || defined(PROTO) /* * Unset local option value, similar to ":set opt<". */ @@ -10800,6 +10801,7 @@ unset_global_local_option(char_u *name, void *from) #endif } } +#endif /* * Get pointer to option variable, depending on local or global scope. @@ -13122,6 +13124,7 @@ tabstop_eq(int *ts1, int *ts2) return TRUE; } +#if defined(FEAT_BEVAL) || defined(PROTO) /* * Copy a tabstop array, allocating space for the new array. */ @@ -13140,6 +13143,7 @@ tabstop_copy(int *oldts) return newts; } +#endif /* * Return a count of the number of tabstops. |