summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-02-10 18:11:30 +0100
committerChristian Ambach <ambi@samba.org>2012-02-10 18:11:30 +0100
commit4a11be3fb4d2cdcae323fc7932371eecca56b3cd (patch)
treebaba4f7f34fcc2bd51e987c43a749f2e5bceb41f
parent8ce9982be9dac71bbfc109e7f0c43aec94850c89 (diff)
downloadsamba-4a11be3fb4d2cdcae323fc7932371eecca56b3cd.tar.gz
samba-4a11be3fb4d2cdcae323fc7932371eecca56b3cd.tar.bz2
samba-4a11be3fb4d2cdcae323fc7932371eecca56b3cd.zip
s3:vfs_gpfs: fix a compiler warning
-rw-r--r--source3/modules/vfs_gpfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index bf47ee52f2..d80f5ebfcc 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -1343,10 +1343,11 @@ int vfs_gpfs_connect(struct vfs_handle_struct *handle, const char *service,
const char *user)
{
struct gpfs_config_data *config;
+ int ret;
smbd_gpfs_lib_init();
- int ret = SMB_VFS_NEXT_CONNECT(handle, service, user);
+ ret = SMB_VFS_NEXT_CONNECT(handle, service, user);
if (ret < 0) {
return ret;