aboutsummaryrefslogtreecommitdiffstats
path: root/mount.cifs.c
diff options
context:
space:
mode:
authorLars Mueller <lmuelle@suse.com>2012-04-20 07:58:54 -0400
committerJeff Layton <jlayton@samba.org>2012-04-20 07:58:54 -0400
commitbe5b954e35858c09dfaeee33bf06bb0dc76a86f9 (patch)
tree95fca9c8cad439566d5ef6f6507be9b491393070 /mount.cifs.c
parent8c6268cbbd4202631e5c4b30297adc0088a1d568 (diff)
downloadcifs-utils-be5b954e35858c09dfaeee33bf06bb0dc76a86f9.tar.gz
cifs-utils-be5b954e35858c09dfaeee33bf06bb0dc76a86f9.tar.xz
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>
Diffstat (limited to 'mount.cifs.c')
-rw-r--r--mount.cifs.c4
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;