mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.1.2199: build failure when using normal features without GUI
Problem: Build failure when using normal features without GUI and EXITFREE defined. Solution: Add #ifdef. (Dominique Pelle, closes #5106)
This commit is contained in:
@@ -1360,7 +1360,9 @@ free_scriptnames(void)
|
||||
for (i = script_items.ga_len; i > 0; --i)
|
||||
{
|
||||
vim_free(SCRIPT_ITEM(i).sn_name);
|
||||
# ifdef FEAT_PROFILE
|
||||
ga_clear(&SCRIPT_ITEM(i).sn_prl_ga);
|
||||
# endif
|
||||
}
|
||||
ga_clear(&script_items);
|
||||
}
|
||||
|
Reference in New Issue
Block a user