From: Lennart Poettering Date: Wed, 21 May 2014 08:44:45 +0000 (+0900) Subject: util: fix a gcc compiler warning X-Git-Tag: v213~65 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=359a06aae9645d436e3d8ec5190bc76160f1de60;p=elogind.git util: fix a gcc compiler warning --- diff --git a/src/shared/util.c b/src/shared/util.c index 0cc51e096..c18d31dfc 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);