Clean "types-limits" warnings (#766)

This commit is contained in:
Jonathan
2024-09-19 15:31:49 +02:00
committed by GitHub
parent c9371baacd
commit b9adcc8097
5 changed files with 15 additions and 21 deletions
+1 -2
View File
@@ -159,8 +159,7 @@ BACNET_ERROR_CODE abort_convert_to_error_code(BACNET_ABORT_REASON abort_code)
error_code = ERROR_CODE_ABORT_APDU_TOO_LONG;
break;
default:
if ((abort_code >= ABORT_REASON_PROPRIETARY_FIRST) &&
(abort_code <= ABORT_REASON_PROPRIETARY_LAST)) {
if (abort_code >= ABORT_REASON_PROPRIETARY_FIRST) {
error_code = ERROR_CODE_ABORT_PROPRIETARY;
}
break;