mount.cifs: initialize rc to 0 in main
authorJeff Layton <jlayton@redhat.com>
Fri, 6 Feb 2009 13:31:45 +0000 (08:31 -0500)
committerJeff Layton <jlayton@redhat.com>
Fri, 6 Feb 2009 13:31:45 +0000 (08:31 -0500)
commit45d75ece3e35b5180e82dc0488b13fbd2a93c41e
treefcb179777506c46bfc075b0f1ee0f1a494e5821f
parent5cd79db1326d70c592e86491d36567a2eb4e1717
mount.cifs: initialize rc to 0 in main

The value of rc in main() isn't initialized in the declaration. This
wasn't a problem before, but Shirish's fakemount patch can make it so
that we return the uninitialized variable if the -n flag is used.

Fix this by initializing rc to 0.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
source/client/mount.cifs.c