From 359a06aae9645d436e3d8ec5190bc76160f1de60 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 21 May 2014 17:44:45 +0900 Subject: util: fix a gcc compiler warning --- src/shared/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared') 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); -- cgit v1.2.3-54-g00ecf