Skip to content

Commit 4486eab

Browse files
huguesBouvierGordon Wang
authored and
Gordon Wang
committed
Fixing coverity issue
Fixing coverity issue
1 parent ffec499 commit 4486eab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/aws_iot_mqtt_client_common_internal.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,7 @@ IoT_Error_t aws_iot_mqtt_internal_cycle_read(AWS_IoT_Client *pClient, Timer *pTi
646646

647647
IoT_Error_t aws_iot_mqtt_internal_flushBuffers( AWS_IoT_Client *pClient ) {
648648
pClient->clientData.readBufIndex = 0;
649+
return SUCCESS;
649650
}
650651

651652
/* only used in single-threaded mode where one command at a time is in process */

0 commit comments

Comments
 (0)