int dnum1 = -1;
int dnum2 = -1;
bool correct = true;
- NTSTATUS status;
del_clean_area(cli1, cli2);
__location__);
/* Set delete on close */
- status = smbcli_nt_delete_on_close(cli1->tree, dnum1, true);
+ (void)smbcli_nt_delete_on_close(cli1->tree, dnum1, true);
/* Attempt opening the directory again. It should fail. */
dnum2 = smbcli_nt_create_full(cli1->tree, dname, 0,