cifs: fix two compiler warning about uninitialized vars
authorJeff Layton <jlayton@redhat.com>
Sat, 29 Jan 2011 12:03:02 +0000 (07:03 -0500)
committerSteve French <sfrench@us.ibm.com>
Mon, 31 Jan 2011 03:15:57 +0000 (03:15 +0000)
commitffeb414a59291d5891f09727beb793c109f19f08
tree1880441bc56981be5978d3f86cecb8dbd526af4c
parentee2c9258501f83d3ed0fd09ce5df1cec53312cf0
cifs: fix two compiler warning about uninitialized vars

fs/cifs/link.c: In function ‘symlink_hash’:
fs/cifs/link.c:58:3: warning: ‘rc’ may be used uninitialized in this
function [-Wuninitialized]

fs/cifs/smbencrypt.c: In function ‘mdfour’:
fs/cifs/smbencrypt.c:61:3: warning: ‘rc’ may be used uninitialized in this
function [-Wuninitialized]

Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/link.c
fs/cifs/smbencrypt.c