File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1438,7 +1438,7 @@ static MQTTStatus_t handleKeepAlive( MQTTContext_t * pContext )
14381438static MQTTStatus_t handleIncomingPublish ( MQTTContext_t * pContext ,
14391439 MQTTPacketInfo_t * pIncomingPacket )
14401440{
1441- MQTTStatus_t status = MQTTBadParameter ;
1441+ MQTTStatus_t status ;
14421442 MQTTPublishState_t publishRecordState = MQTTStateNull ;
14431443 uint16_t packetIdentifier = 0U ;
14441444 MQTTPublishInfo_t publishInfo ;
@@ -1567,7 +1567,7 @@ static MQTTStatus_t handleIncomingPublish( MQTTContext_t * pContext,
15671567static MQTTStatus_t handlePublishAcks ( MQTTContext_t * pContext ,
15681568 MQTTPacketInfo_t * pIncomingPacket )
15691569{
1570- MQTTStatus_t status = MQTTBadResponse ;
1570+ MQTTStatus_t status ;
15711571 MQTTPublishState_t publishRecordState = MQTTStateNull ;
15721572 uint16_t packetIdentifier ;
15731573 MQTTPubAckType_t ackType ;
@@ -2390,7 +2390,6 @@ static MQTTStatus_t sendConnectWithoutCopy( MQTTContext_t * pContext,
23902390 iterator ,
23912391 & totalMessageLength );
23922392 /* Update the iterator to point to the next empty slot. */
2393- iterator = & iterator [ vectorsAdded ];
23942393 ioVectorLength += vectorsAdded ;
23952394 }
23962395
You can’t perform that action at this time.
0 commit comments