summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-07 16:39:07 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-07 16:39:07 +0200
commita7610064ae4fbccfcff8b91656dfee3f55d21c9c (patch)
tree207e37514f2622c2e0ef1ea54081e003bbcabc16 /util.c
parentdda5a135b8311ed3be5d930a4f6f560d638813f4 (diff)
util: make gcc shut up
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 03c60af98d..43826990cd 100644
--- a/util.c
+++ b/util.c
@@ -1133,7 +1133,7 @@ int close_all_fds(const int except[], unsigned n_except) {
return -errno;
while ((de = readdir(d))) {
- int fd;
+ int fd = -1;
if (de->d_name[0] == '.')
continue;