mount.cifs: initialize rc to 0 in main
authorJeff Layton <jlayton@redhat.com>
Fri, 6 Feb 2009 13:29:58 +0000 (08:29 -0500)
committerJeff Layton <jlayton@redhat.com>
Fri, 6 Feb 2009 13:29:58 +0000 (08:29 -0500)
commitd895ca505f7f9c4edf476a0c966e93917e35575c
tree64d797f76ec90c71951d9e32b667775b906af86a
parentea8bd81b6eaf2d2ca005d30c1580e7a45d3b3c5d
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>
source3/client/mount.cifs.c