Skip to content
This repository was archived by the owner on Apr 9, 2020. It is now read-only.

cn_cbor_decode: set errp with CN_CBOR_NO_ERROR on success#54

Open
KonstantinRitt wants to merge 1 commit intocabo:masterfrom
KonstantinRitt:mr/cn_cbor_decode
Open

cn_cbor_decode: set errp with CN_CBOR_NO_ERROR on success#54
KonstantinRitt wants to merge 1 commit intocabo:masterfrom
KonstantinRitt:mr/cn_cbor_decode

Conversation

@KonstantinRitt
Copy link

for consistency, both

if (errp->err == CN_CBOR_NO_ERROR)
and
if (ret)
could be used to determine there was no error during decoding

for consistency, both
> if (errp->err == CN_CBOR_NO_ERROR)
and
> if (ret)
could be used to determine there was no error during decoding
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant