Skip to content

selinuxsecuritycontext: const-correct strchr in split_level#2347

Merged
jan-cerny merged 1 commit intoOpenSCAP:mainfrom
Mab879:cursor/selinuxsecuritycontext-split-level-const
May 7, 2026
Merged

selinuxsecuritycontext: const-correct strchr in split_level#2347
jan-cerny merged 1 commit intoOpenSCAP:mainfrom
Mab879:cursor/selinuxsecuritycontext-split-level-const

Conversation

@Mab879
Copy link
Copy Markdown
Member

@Mab879 Mab879 commented May 4, 2026

Fixes build failure on main.

strchr(const char *, ...) returns const char *; fixes -Werror=discarded-qualifiers.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 4, 2026

Copy link
Copy Markdown
Member

@jan-cerny jan-cerny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good fix, it fixed the failing build on Fedora

@jan-cerny jan-cerny merged commit e25fe8c into OpenSCAP:main May 7, 2026
21 checks passed
@Mab879 Mab879 deleted the cursor/selinuxsecuritycontext-split-level-const branch May 7, 2026 16:29
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