1
0
mirror of https://github.com/stargieg/bacnet-stack synced 2025-10-26 23:35:52 +08:00

try to fix unused warnings

This commit is contained in:
Patrick Grimm 2016-10-30 23:27:35 +01:00
parent dffc351abe
commit cd9c48738b
2 changed files with 4 additions and 4 deletions

View File

@ -193,13 +193,13 @@ void handler_device_communication_control(
len =
datalink_send_pdu(src, &npdu_data, &Handler_Transmit_Buffer[0],
pdu_len);
#if PRINT_ENABLED
if (len <= 0) {
#if PRINT_ENABLED
fprintf(stderr,
"DeviceCommunicationControl: " "Failed to send PDU (%s)!\n",
strerror(errno));
}
#endif
}
return;
}

View File

@ -162,12 +162,12 @@ void handler_reinitialize_device(
len =
datalink_send_pdu(src, &npdu_data, &Handler_Transmit_Buffer[0],
pdu_len);
#if PRINT_ENABLED
if (len <= 0) {
#if PRINT_ENABLED
fprintf(stderr, "ReinitializeDevice: Failed to send PDU (%s)!\n",
strerror(errno));
}
#endif
}
return;
}