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

fix wrong if constexpr usage #3215

Merged
merged 1 commit into from
Mar 15, 2025
Merged

fix wrong if constexpr usage #3215

merged 1 commit into from
Mar 15, 2025

Conversation

neheb
Copy link
Collaborator

@neheb neheb commented Mar 15, 2025

Not having the else after return is fine for normal if statements, but not if constexpr. Fixes an MSVC warning about an unreachable path.

Not having the else after return is fine for normal if statements, but
not if constexpr. Fixes an MSVC warning about an unreachable path.

Signed-off-by: Rosen Penev <[email protected]>
@neheb neheb requested a review from kevinbackhouse March 15, 2025 21:36
@neheb neheb merged commit 2e6fb08 into Exiv2:main Mar 15, 2025
61 checks passed
@neheb neheb deleted the 2 branch March 15, 2025 22:31
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