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

extract: make sure return codes are propagated #109

Merged
merged 1 commit into from
Sep 3, 2023
Merged

Conversation

Gottox
Copy link
Owner

@Gottox Gottox commented Sep 3, 2023

This change fixes two bugs where functions mask errors by either returning 0 or not checking the return value of another function.

This change fixes two bugs where functions mask errors by either
returning 0 or not checking the return value of another function.
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 25.00% and project coverage change: -0.04% ⚠️

Comparison is base (91130e3) 59.17% compared to head (2105838) 59.14%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
- Coverage   59.17%   59.14%   -0.04%     
==========================================
  Files          58       58              
  Lines        4728     4731       +3     
  Branches      707      708       +1     
==========================================
  Hits         2798     2798              
- Misses       1522     1524       +2     
- Partials      408      409       +1     
Files Changed Coverage Δ
lib/extract/extract_manager.c 74.72% <0.00%> (-2.55%) ⬇️
lib/extract/extractor.c 71.83% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Gottox Gottox merged commit 6d1c745 into main Sep 3, 2023
21 checks passed
Gottox added a commit that referenced this pull request Sep 5, 2023
extract: make sure return codes are propagated
@Gottox Gottox deleted the fix/extract-unused-rv branch September 5, 2023 10:40
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