basic/capability-util: add missing initialization

There was no error, because the pointer is unconditionally set below.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-02-16 14:27:59 +01:00
parent 6aa601c56c
commit a779cf30d2
+1 -1
View File
@@ -18,7 +18,7 @@
#include "util.h"
int have_effective_cap(int value) {
_cleanup_cap_free_ cap_t cap;
_cleanup_cap_free_ cap_t cap = NULL;
cap_flag_value_t fv;
cap = cap_get_proc();