summaryrefslogtreecommitdiff
path: root/src/tmpfiles
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-06-21 13:20:23 +0200
committerLennart Poettering <lennart@poettering.net>2016-06-21 14:15:23 +0200
commit4e68ec18669db7175a999f95b6b5b0d1908376c9 (patch)
tree1a35f9dcf9d479049e30b3a43749e67a002717e4 /src/tmpfiles
parent3f0083a264952dc79f3ae478044b79b66ed03c46 (diff)
tmpfiles: make sure to always initialize "r" correctly.
Diffstat (limited to 'src/tmpfiles')
-rw-r--r--src/tmpfiles/tmpfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 79ccf9fad9..bfb6293b3d 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -2178,7 +2178,7 @@ static int read_config_file(const char *fn, bool ignore_enoent) {
Iterator iterator;
unsigned v = 0;
Item *i;
- int r;
+ int r = 0;
assert(fn);