Skip to content

Fix -Wdiscarded-qualifiers errors in sni_match and sni_lookup - #404

Open
audunmg wants to merge 1 commit into
varnish:masterfrom
audunmg:compiler-errors
Open

Fix -Wdiscarded-qualifiers errors in sni_match and sni_lookup#404
audunmg wants to merge 1 commit into
varnish:masterfrom
audunmg:compiler-errors

Conversation

@audunmg

@audunmg audunmg commented Jun 23, 2026

Copy link
Copy Markdown

GCC 12+ made __builtin_strchr const-aware, returning const char * when passed a const char *, so the local variables must match.

GCC 12+ made __builtin_strchr const-aware, returning const char * when
passed a const char *, so the local variables must match.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@daghf daghf self-assigned this Jun 23, 2026
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