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

str-utils: fix always true condition warning (-Wtype-limits) #480

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

MrAnno
Copy link
Member

@MrAnno MrAnno commented Jan 30, 2025

gchar is either signed or unsigned (127 may be the max value), guchar can be ASCII-checked, but then the 0-check is not needed.

lib/str-utils.h Outdated Show resolved Hide resolved
@MrAnno MrAnno merged commit c3be5ff into axoflow:main Feb 3, 2025
22 checks passed
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.

3 participants