1
0
mirror of https://github.com/eclipse/mosquitto.git synced 2025-05-09 01:01:11 +08:00

fix unused parameter warning (only with cmake -DWITH_TLS=OFF) in mosquitto_void_option()

Signed-off-by: Carsten Andrich <carsten@andrich.name>
This commit is contained in:
Carsten Andrich 2024-05-10 19:01:34 +02:00 committed by Roger Light
parent 1db26b3e2b
commit c22ced4915

View File

@ -531,6 +531,7 @@ int mosquitto_void_option(struct mosquitto *mosq, enum mosq_opt_t option, void *
} }
break; break;
#else #else
UNUSED(value);
return MOSQ_ERR_NOT_SUPPORTED; return MOSQ_ERR_NOT_SUPPORTED;
#endif #endif
default: default: