summaryrefslogtreecommitdiff
path: root/src/core/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-11 20:12:32 +0100
committerGitHub <noreply@github.com>2016-12-11 20:12:32 +0100
commit4682047cf23f3471894d83d847cdac6b3bec92e1 (patch)
treefe3b9c380d88d55ed55d1906ca178ef3803df23a /src/core/load-fragment.c
parent280b29ac84baee304c180fe64f820db56cd5b2b3 (diff)
parent330785f5caf426afa9d93e8eb7dcc7a72d7ea3cb (diff)
Merge pull request #4864 from keszybz/build-sys
Fix some build issues and warnings
Diffstat (limited to 'src/core/load-fragment.c')
-rw-r--r--src/core/load-fragment.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index 6b36b2fc3a..687cd1dd31 100644
--- a/src/core/load-fragment.c
+++ b/src/core/load-fragment.c
@@ -606,7 +606,6 @@ int config_parse_exec(
_cleanup_strv_free_ char **n = NULL;
size_t nlen = 0, nbufsize = 0;
const char *f;
- int i;
semicolon = false;
@@ -615,7 +614,7 @@ int config_parse_exec(
return 0;
f = firstword;
- for (i = 0; i < 3; i++) {
+ for (;;) {
/* We accept an absolute path as first argument.
* If it's prefixed with - and the path doesn't exist,
* we ignore it instead of erroring out;