only FreeBSD change/little warning addressing

This commit is contained in:
David Carlier
2018-11-08 10:13:52 +00:00
committed by antirez
parent 11801e1a78
commit 5ad588f0f4
2 changed files with 7 additions and 4 deletions

View File

@ -1189,6 +1189,8 @@ void serverLogHexDump(int level, char *descr, void *value, size_t len) {
void watchdogSignalHandler(int sig, siginfo_t *info, void *secret) {
#ifdef HAVE_BACKTRACE
ucontext_t *uc = (ucontext_t*) secret;
#else
(void)secret;
#endif
UNUSED(info);
UNUSED(sig);