Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit b084e189 authored by Christian Göttsche's avatar Christian Göttsche Committed by Paul Moore
Browse files

selinux: simplify cred_init_security


The parameter of selinux_cred() is declared const, so an explicit cast
dropping the const qualifier is not necessary. Without the cast the
local variable cred serves no purpose.

Reported by clang [-Wcast-qual]

Signed-off-by: default avatarChristian Göttsche <cgzones@googlemail.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 73073d95
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment