X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fcapability.c;h=58f00e6daec180c910bb72ff4cf83efd0c7c1ec3;hb=d896ac2d2fbce41a0b11a0618a685adeaf18b8fe;hp=915ceb9d9b1a4749206bebb638a971f7dcac156c;hpb=2c9fc26670ef85a14d16a72bc16e7368f76c28f4;p=elogind.git diff --git a/src/shared/capability.c b/src/shared/capability.c index 915ceb9d9..58f00e6da 100644 --- a/src/shared/capability.c +++ b/src/shared/capability.c @@ -19,14 +19,9 @@ along with systemd; If not, see . ***/ -#include -#include #include #include #include -#include -#include -#include #include #include #include "grp.h" @@ -55,7 +50,7 @@ unsigned long cap_last_cap(void) { static thread_local unsigned long saved; static thread_local bool valid = false; _cleanup_free_ char *content = NULL; - unsigned long p; + unsigned long p = 0; int r; if (valid)