From 4ee03f21e34bf61dd517432b0551ef607265efda Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Mon, 29 Mar 2021 17:07:40 +0100 Subject: [PATCH] Guard against missing UNUSED. --- apps/db_dump/stubs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/db_dump/stubs.c b/apps/db_dump/stubs.c index 8e233871..42a14291 100644 --- a/apps/db_dump/stubs.c +++ b/apps/db_dump/stubs.c @@ -6,6 +6,10 @@ #include "mosquitto_internal.h" #include "util_mosq.h" +#ifndef UNUSED +# define UNUSED(A) (void)(A) +#endif + struct mosquitto *context__init(mosq_sock_t sock) { UNUSED(sock);