mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 16:21:26 +03:00
basic/capability-util: add missing initialization
There was no error, because the pointer is unconditionally set below.
This commit is contained in:
parent
6aa601c56c
commit
a779cf30d2
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user