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:
parent
1db26b3e2b
commit
c22ced4915
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user