Skip to content

Fix const‑correctness for strchr/strrchr#199

Merged
fangfufu merged 1 commit intofangfufu:masterfrom
owentrigueros:fix/const-qualifiers
Feb 17, 2026
Merged

Fix const‑correctness for strchr/strrchr#199
fangfufu merged 1 commit intofangfufu:masterfrom
owentrigueros:fix/const-qualifiers

Conversation

@owentrigueros
Copy link
Contributor

Make strchr/strrchr results const (inputs are const, so returned pointers must be const).

@sonarqubecloud
Copy link

@fangfufu fangfufu merged commit 92622fc into fangfufu:master Feb 17, 2026
5 checks passed
@fangfufu
Copy link
Owner

Thanks!

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