s3: Fix Coverity ID 2478, UNINIT
authorVolker Lendecke <vl@samba.org>
Sat, 23 Apr 2011 08:31:14 +0000 (10:31 +0200)
committerVolker Lendecke <vlendec@samba.org>
Sat, 23 Apr 2011 12:11:22 +0000 (14:11 +0200)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Apr 23 14:11:22 CEST 2011 on sn-devel-104

source3/lib/sysquotas_nfs.c

index eff5874db6c23af056fa3dd0f12a94f319cc7912..043ab9f612f5c9d085b6147e7ba2c9fe9811c51b 100644 (file)
@@ -91,7 +91,7 @@ int sys_get_nfs_quota(const char *path, const char *bdev,
                      enum SMB_QUOTA_TYPE qtype,
                      unid_t id, SMB_DISK_QUOTA *dp)
 {
-       CLIENT *clnt;
+       CLIENT *clnt = NULL;
        struct getquota_rslt gq_rslt;
        struct getquota_args gq_args;
        const char *mnttype;