From 4a11be3fb4d2cdcae323fc7932371eecca56b3cd Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Fri, 10 Feb 2012 18:11:30 +0100 Subject: s3:vfs_gpfs: fix a compiler warning --- source3/modules/vfs_gpfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit