sysusers: Remove some gcc warnings about uninitialized variables
Gcc is spewing some warnings about uninitialized variables. Let's get rid of the noise.
This commit is contained in:
committed by
Tom Gundersen
parent
96f2f3b1b5
commit
56d21cdebc
@@ -796,8 +796,8 @@ static int root_stat(const char *p, struct stat *st) {
|
||||
static int read_id_from_file(Item *i, uid_t *_uid, gid_t *_gid) {
|
||||
struct stat st;
|
||||
bool found_uid = false, found_gid = false;
|
||||
uid_t uid;
|
||||
gid_t gid;
|
||||
uid_t uid = 0;
|
||||
gid_t gid = 0;
|
||||
|
||||
assert(i);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user