mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.4038: various code not used when features are disabled
Problem: Various code not used when features are disabled. Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
This commit is contained in:
committed by
Bram Moolenaar
parent
370791465e
commit
748b308eeb
@@ -1635,8 +1635,6 @@ free_autoload_scriptnames(void)
|
||||
}
|
||||
# endif
|
||||
|
||||
#endif
|
||||
|
||||
linenr_T
|
||||
get_sourced_lnum(
|
||||
char_u *(*fgetline)(int, void *, int, getline_opt_T),
|
||||
@@ -1646,6 +1644,7 @@ get_sourced_lnum(
|
||||
? ((source_cookie_T *)cookie)->sourcing_lnum
|
||||
: SOURCING_LNUM;
|
||||
}
|
||||
#endif
|
||||
|
||||
static char_u *
|
||||
get_one_sourceline(source_cookie_T *sp)
|
||||
|
Reference in New Issue
Block a user