1
0
forked from aniani/vim

patch 9.0.0978: build errors without the +channel feature

Problem:    Build errors without the +channel feature. (John Marriott)
Solution:   Adjust #ifdefs.
This commit is contained in:
Bram Moolenaar
2022-11-30 20:20:56 +00:00
parent 4c5678ff0c
commit 3b8c7083b2
6 changed files with 28 additions and 13 deletions

View File

@@ -75,7 +75,7 @@ ch_log_active(void)
}
static void
ch_log_lead(const char *what, channel_T *ch, ch_part_T part)
ch_log_lead(const char *what, channel_T *ch UNUSED, ch_part_T part UNUSED)
{
if (log_fd == NULL)
return;