diff src/logfile.c @ 31289:4f1e70a709bb v9.0.0978

patch 9.0.0978: build errors without the +channel feature Commit: https://github.com/vim/vim/commit/3b8c7083b265c35861a7f96b01c079471ff45152 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 30 20:20:56 2022 +0000 patch 9.0.0978: build errors without the +channel feature Problem: Build errors without the +channel feature. (John Marriott) Solution: Adjust #ifdefs.
author Bram Moolenaar <Bram@vim.org>
date Wed, 30 Nov 2022 21:30:03 +0100
parents fa309d9af73c
children 16fc80710970
line wrap: on
line diff
--- a/src/logfile.c
+++ b/src/logfile.c
@@ -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;