From cc9c4e0f4e2f665b793be021e926401564429a68 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Sat, 6 Feb 2021 11:46:22 +0100 Subject: [PATCH] mqttd: remove unused variable Closes https://github.com/curl/curl/pull/6576 --- tests/server/mqttd.c | 2 -- 1 file changed, 2 deletions(-) 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; }