comparison 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
comparison
equal deleted inserted replaced
31288:6195f37efb92 31289:4f1e70a709bb
73 { 73 {
74 return log_fd != NULL; 74 return log_fd != NULL;
75 } 75 }
76 76
77 static void 77 static void
78 ch_log_lead(const char *what, channel_T *ch, ch_part_T part) 78 ch_log_lead(const char *what, channel_T *ch UNUSED, ch_part_T part UNUSED)
79 { 79 {
80 if (log_fd == NULL) 80 if (log_fd == NULL)
81 return; 81 return;
82 82
83 #ifdef FEAT_RELTIME 83 #ifdef FEAT_RELTIME