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
@@ -141,8 +141,7 @@ BACNET_ERROR_CODE reject_convert_to_error_code(BACNET_REJECT_REASON reject_code)
error_code = ERROR_CODE_INVALID_DATA_ENCODING;
break;
default:
if ((reject_code >= REJECT_REASON_PROPRIETARY_FIRST) &&
(reject_code <= REJECT_REASON_PROPRIETARY_LAST)) {
if (reject_code >= REJECT_REASON_PROPRIETARY_FIRST) {
error_code = ERROR_CODE_REJECT_PROPRIETARY;
}
break;