Skip to content

Commit 0fe67a4

Browse files
committedJul 8, 2022
Fix gcc reorder warning
1 parent 43c1253 commit 0fe67a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/MqttClient.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ MqttClient::MqttClient(Client* client) :
6969
_cleanSession(true),
7070
_keepAliveInterval(60 * 1000L),
7171
_connectionTimeout(30 * 1000L),
72+
_tx_payload_buffer_size(TX_PAYLOAD_BUFFER_SIZE),
7273
_connectError(MQTT_SUCCESS),
7374
_connected(false),
7475
_subscribeQos(0x00),
@@ -79,8 +80,7 @@ MqttClient::MqttClient(Client* client) :
7980
_willBuffer(NULL),
8081
_willBufferIndex(0),
8182
_willMessageIndex(0),
82-
_willFlags(0x00),
83-
_tx_payload_buffer_size(TX_PAYLOAD_BUFFER_SIZE)
83+
_willFlags(0x00)
8484
{
8585
setTimeout(0);
8686
}

0 commit comments

Comments
 (0)
Please sign in to comment.