Skip to content

Commit b0ae98a

Browse files
committed
cast the deref'd value of unused parameter
1 parent a341c88 commit b0ae98a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/MQTT/mqtt_basic_no_blk/mqtt_basic_no_blk.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ IPAddress server(10, 10, 2, 2); //The ip of the MQTT server
4848
char clientID[] = { "arduinoClient " };
4949

5050
void messageReceived(MQTTClient* client, char topic[], char payload[], int length) {
51-
(void*)client;
51+
(void)*client;
5252
(void)length;
5353
Serial.println("incoming: ");
5454
Serial.print(topic);

0 commit comments

Comments
 (0)