summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be12601)
raw | patch | inline | side by side (parent: be12601)
author | Matt <11929804+matt31084@users.noreply.github.com> | |
Thu, 2 Nov 2017 18:17:44 +0000 (14:17 -0400) | ||
committer | Varun Reddy <vareddy@amazon.com> | |
Thu, 2 Nov 2017 18:17:44 +0000 (11:17 -0700) |
"aws-iot-device-sdk-embedded-C/src/aws_iot_mqtt_client_publish.c", line 353: warning #112-D: statement is unreachable
Using TI 16.9.3LTS compiler, the above message is generated. The "return rc;" line is redundant as the FUNC_EXIT_RC macro on the line before returns as well.
Using TI 16.9.3LTS compiler, the above message is generated. The "return rc;" line is redundant as the FUNC_EXIT_RC macro on the line before returns as well.
src/aws_iot_mqtt_client_publish.c | patch | blob | history |
index e6dbfc5d79c3f658fc391062414b50ac72f976ab..081a98c2ba4e7ca4ef66fcfa6f01cedfe8590a54 100644 (file)
rc = aws_iot_mqtt_internal_decode_remaining_length_from_buffer(curData, &decodedLen, &readBytesLen);
if(SUCCESS != rc) {
FUNC_EXIT_RC(rc);
- return rc;
}
curData += (readBytesLen);
endData = curData + decodedLen;