diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-08-19 23:27:44 +0200 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-08-19 23:27:44 +0200 |
commit | c46409021fa9d161c587c9e364ec629256265a75 (patch) | |
tree | 9ee4fbba5184f9b4dbe5f8ee679830b878cea19d /src/sysusers | |
parent | 5f02e26ca7c039837dbaea63f3d3664fe45c26b9 (diff) |
sysusers: initialize r
Needed for the stdin case where it could otherwise end up being used
uninitialized.
Diffstat (limited to 'src/sysusers')
-rw-r--r-- | src/sysusers/sysusers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c index 1ff0e21a06..b889ed0536 100644 --- a/src/sysusers/sysusers.c +++ b/src/sysusers/sysusers.c @@ -1693,7 +1693,7 @@ static int read_config_file(const char *fn, bool ignore_enoent) { FILE *f = NULL; char line[LINE_MAX]; unsigned v = 0; - int r; + int r = 0; assert(fn); |