mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-07 06:07:32 +02:00
kernel: Remove NONNULL annotation from destroy method
No other *_destroy function in the Kernel API carries this annotation. Following the convention set by free(), destroy functions should accept null pointers.
This commit is contained in:
@@ -1344,7 +1344,7 @@ BITCOINKERNEL_API btck_BlockValidationState* BITCOINKERNEL_WARN_UNUSED_RESULT bt
|
|||||||
* Destroy the btck_BlockValidationState.
|
* Destroy the btck_BlockValidationState.
|
||||||
*/
|
*/
|
||||||
BITCOINKERNEL_API void btck_block_validation_state_destroy(
|
BITCOINKERNEL_API void btck_block_validation_state_destroy(
|
||||||
btck_BlockValidationState* block_validation_state) BITCOINKERNEL_ARG_NONNULL(1);
|
btck_BlockValidationState* block_validation_state);
|
||||||
|
|
||||||
///@}
|
///@}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user