mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-08 16:52:13 +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:
parent
1db26b3e2b
commit
c22ced4915
@ -531,6 +531,7 @@ int mosquitto_void_option(struct mosquitto *mosq, enum mosq_opt_t option, void *
|
||||
}
|
||||
break;
|
||||
#else
|
||||
UNUSED(value);
|
||||
return MOSQ_ERR_NOT_SUPPORTED;
|
||||
#endif
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user