Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove is_error invokation on function return with valid negative values #243

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

jklamer
Copy link
Contributor

@jklamer jklamer commented Sep 25, 2024

ZSTD_isError() can be used to validate many output values of many methods, and is called out for those methods in the manual. It is not called out as being usable to validate the output of ZSTD_getFrameContentSize in that manual, and the method itself has valid negative returns for content size unknown.

@martint martint merged commit 560bd2c into airlift:master Sep 25, 2024
1 check passed
@jklamer jklamer deleted the jklamer/NoIsErrorOnFrameSize branch September 25, 2024 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants