Skip to content

Commit

Permalink
Fixing coverity issue
Browse files Browse the repository at this point in the history
Fixing coverity issue
  • Loading branch information
huguesBouvier authored and Gordon Wang committed May 7, 2018
1 parent ffec499 commit 4486eab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aws_iot_mqtt_client_common_internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ IoT_Error_t aws_iot_mqtt_internal_cycle_read(AWS_IoT_Client *pClient, Timer *pTi

IoT_Error_t aws_iot_mqtt_internal_flushBuffers( AWS_IoT_Client *pClient ) {
pClient->clientData.readBufIndex = 0;
return SUCCESS;
}

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

0 comments on commit 4486eab

Please sign in to comment.