Fixed some warnings detected by CSTAT.

Consolidated some unit tests and added a single test prototype to header file.
This commit is contained in:
skarg
2016-06-08 21:55:12 +00:00
parent 57bb0d6d70
commit f8bcd58cea
9 changed files with 75 additions and 63 deletions
+2 -1
View File
@@ -143,11 +143,12 @@ uint8_t Send_COV_Subscribe(
bytes_sent =
datalink_send_pdu(&dest, &npdu_data,
&Handler_Transmit_Buffer[0], pdu_len);
if (bytes_sent <= 0) {
#if PRINT_ENABLED
if (bytes_sent <= 0)
fprintf(stderr, "Failed to Send SubscribeCOV Request (%s)!\n",
strerror(errno));
#endif
}
} else {
tsm_free_invoke_id(invoke_id);
invoke_id = 0;