diff options
author | Lars Mueller <lmuelle@suse.com> | 2012-04-20 07:58:54 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2012-04-20 07:58:54 -0400 |
commit | be5b954e35858c09dfaeee33bf06bb0dc76a86f9 (patch) | |
tree | 95fca9c8cad439566d5ef6f6507be9b491393070 | |
parent | 8c6268cbbd4202631e5c4b30297adc0088a1d568 (diff) | |
download | cifs-utils-be5b954e35858c09dfaeee33bf06bb0dc76a86f9.tar.gz cifs-utils-be5b954e35858c09dfaeee33bf06bb0dc76a86f9.tar.bz2 cifs-utils-be5b954e35858c09dfaeee33bf06bb0dc76a86f9.zip |
mount.cifs: uninitialized variables in mount.cifs
older gcc versions (4.3 in the case of SUSE Linux Enterprise 11 SP 1 and
SP 2) complain about uninitialized variables in the recent 5.4 release.
The attached patch makes the build process a bit quieter.
Acked-by: Suresh Jayaraman <sjayaraman@suse.com>
Signed-off-by: Lars Mueller <lmuelle@suse.com>
-rw-r--r-- | mount.cifs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mount.cifs.c b/mount.cifs.c index 2c481d8..a363b61 100644 --- a/mount.cifs.c +++ b/mount.cifs.c @@ -863,8 +863,8 @@ parse_options(const char *data, struct parsed_mount_info *parsed_info) int got_uid = 0; int got_cruid = 0; int got_gid = 0; - uid_t uid, cruid = 0, bkupuid; - gid_t gid, bkupgid; + uid_t uid, cruid = 0, bkupuid = 0; + gid_t gid, bkupgid = 0; char *ep; struct passwd *pw; struct group *gr; |