From b0ae98a83481a241c8e880a93c43670744d0c936 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Sun, 7 Jul 2024 06:03:09 -0700 Subject: [PATCH] cast the deref'd value of unused parameter --- examples/MQTT/mqtt_basic_no_blk/mqtt_basic_no_blk.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/MQTT/mqtt_basic_no_blk/mqtt_basic_no_blk.ino b/examples/MQTT/mqtt_basic_no_blk/mqtt_basic_no_blk.ino index fd279b3..d2877fb 100644 --- a/examples/MQTT/mqtt_basic_no_blk/mqtt_basic_no_blk.ino +++ b/examples/MQTT/mqtt_basic_no_blk/mqtt_basic_no_blk.ino @@ -48,7 +48,7 @@ IPAddress server(10, 10, 2, 2); //The ip of the MQTT server char clientID[] = { "arduinoClient " }; void messageReceived(MQTTClient* client, char topic[], char payload[], int length) { - (void*)client; + (void)*client; (void)length; Serial.println("incoming: "); Serial.print(topic);