Remove duplicate lines of code. (#1002)

This commit is contained in:
Steve Karg
2025-05-23 07:54:02 -05:00
committed by GitHub
parent 85607e2d40
commit f983df7fae
2 changed files with 1 additions and 6 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ The git repositories are hosted at the following sites:
### Fixed
* Fixed network port object to accept host name option of host-n-port
writes. (#997)
writes. (#997) (#1001)
* Fixed missing exports in bacnet/basic header files. (#996)
* Fixed NDPU comparison functions that were missing segment-ack PDU. (#991)
* Fixed WriteProperty NULL bypass which is only for present-value property
-5
View File
@@ -4197,11 +4197,6 @@ bool Network_Port_Write_Property(BACNET_WRITE_PROPERTY_DATA *wp_data)
wp_data->error_code = ERROR_CODE_INVALID_DATA_TYPE;
}
if (!status && (wp_data->error_code == ERROR_CODE_OTHER)) {
wp_data->error_class = ERROR_CLASS_PROPERTY;
wp_data->error_code = ERROR_CODE_INVALID_DATA_TYPE;
}
return status;
}