From: Lennart Poettering Date: Tue, 21 Jun 2016 11:20:23 +0000 (+0200) Subject: tmpfiles: make sure to always initialize "r" correctly. X-Git-Tag: v231~125^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e68ec18669db7175a999f95b6b5b0d1908376c9;p=platform%2Fupstream%2Fsystemd.git tmpfiles: make sure to always initialize "r" correctly. --- diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 79ccf9f..bfb6293 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);