Remove duplicate lines of code. (#1002)
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ The git repositories are hosted at the following sites:
|
|||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
* Fixed network port object to accept host name option of host-n-port
|
* 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 missing exports in bacnet/basic header files. (#996)
|
||||||
* Fixed NDPU comparison functions that were missing segment-ack PDU. (#991)
|
* Fixed NDPU comparison functions that were missing segment-ack PDU. (#991)
|
||||||
* Fixed WriteProperty NULL bypass which is only for present-value property
|
* Fixed WriteProperty NULL bypass which is only for present-value property
|
||||||
|
|||||||
@@ -4197,11 +4197,6 @@ bool Network_Port_Write_Property(BACNET_WRITE_PROPERTY_DATA *wp_data)
|
|||||||
wp_data->error_code = ERROR_CODE_INVALID_DATA_TYPE;
|
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;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user