summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-10 03:34:31 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-10 03:34:31 +0200
commitbab45044482dc012331c768c08d78a2d006485ad (patch)
tree23c288fd5acf57ae58e7e4b9895ad2fb7f95d3cd /util.c
parent462b33e96ad1732658b39895eea0b146e98bc3a5 (diff)
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 8042214c8f..f5f1b3a45e 100644
--- a/util.c
+++ b/util.c
@@ -1597,7 +1597,7 @@ int flush_fd(int fd) {
}
int acquire_terminal(const char *name, bool fail, bool force) {
- int fd = -1, notify = -1, r, wd;
+ int fd = -1, notify = -1, r, wd = -1;
assert(name);