Another unused variable.
[kai/samba.git] / source3 / lib / sharesec.c
index b90346ff7eea67f2ae1ea64284537a690f4fa5de..8ea63a5824d7fef3aac82b5d82e85442a7f043d8 100644 (file)
@@ -279,7 +279,6 @@ bool share_access_check(const NT_USER_TOKEN *token, const char *sharename,
        NTSTATUS status;
        SEC_DESC *psd = NULL;
        size_t sd_size;
-       bool ret = True;
 
        psd = get_share_security(talloc_tos(), sharename, &sd_size);