summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-05-21 17:44:45 +0900
committerLennart Poettering <lennart@poettering.net>2014-05-21 17:44:45 +0900
commit359a06aae9645d436e3d8ec5190bc76160f1de60 (patch)
tree8a950eb681b14814d04a1df7b398153b4e2de5b0
parenta6cb8f870d68654a4297b8cb859068bca8e0f44c (diff)
util: fix a gcc compiler warning
-rw-r--r--src/shared/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index 0cc51e0962..c18d31dfcf 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -6093,7 +6093,7 @@ int container_get_leader(const char *machine, pid_t *pid) {
int namespace_open(pid_t pid, int *pidns_fd, int *mntns_fd, int *netns_fd, int *root_fd) {
_cleanup_close_ int pidnsfd = -1, mntnsfd = -1, netnsfd = -1;
- int rfd;
+ int rfd = -1;
assert(pid >= 0);