Skip to content

Commit

Permalink
cast the deref'd value of unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Jul 7, 2024
1 parent a341c88 commit b0ae98a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/MQTT/mqtt_basic_no_blk/mqtt_basic_no_blk.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b0ae98a

Please sign in to comment.