Fix spurious compiler warning

This commit is contained in:
Roger A. Light
2025-09-17 12:49:41 +01:00
parent 0a6fa2ee90
commit f4ccfd55f4
+1 -1
View File
@@ -38,7 +38,7 @@ int send__disconnect(struct mosquitto *mosq, uint8_t reason_code, const mosquitt
{
struct mosquitto__packet *packet = NULL;
int rc;
uint32_t remaining_length;
uint32_t remaining_length = 0;
assert(mosq);
#ifdef WITH_BROKER