Fix compilation warning for WITH_WEBSOCKETS=no.
This commit is contained in:
parent
ad2ce6c4e6
commit
b29c8ced55
@ -296,7 +296,10 @@ void context__add_to_disused(struct mosquitto_db *db, struct mosquitto *context)
|
||||
|
||||
void context__free_disused(struct mosquitto_db *db)
|
||||
{
|
||||
struct mosquitto *context, *next, *last = NULL;
|
||||
struct mosquitto *context, *next;
|
||||
#ifdef WITH_WEBSOCKETS
|
||||
struct mosquitto *last = NULL;
|
||||
#endif
|
||||
assert(db);
|
||||
|
||||
context = db->ll_for_free;
|
||||
|
Loading…
Reference in New Issue
Block a user