build: fix unused function error

so far, this has only been seen with clang 10.0.0-4ubuntu1

Using different compilers never disappoints...
parent b389fcc1
......@@ -4627,7 +4627,7 @@ fellow_log_ban_keep(struct flivs *flivs, const struct fellow_dle *e,
return (0);
}
#ifdef DEBUG
#if defined(DEBUG) && FDBGL & D_LOGS_ITER_BLOCK
static inline void
printf_ban_times(const uint8_t *banspec, unsigned len, const char *fmt)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment