diff --git a/tests/server/mqttd.c b/tests/server/mqttd.c index aec4a099b..2b4ac9699 100644 --- a/tests/server/mqttd.c +++ b/tests/server/mqttd.c @@ -213,12 +213,10 @@ static void logprotocol(mqttdir dir, ssize_t i; unsigned char *ptr = buffer; char *optr = data; - ssize_t width = 0; int left = sizeof(data); for(i = 0; i= 0); i++) { msnprintf(optr, left, "%02x", ptr[i]); - width += 2; optr += 2; left -= 2; }