r25035: Fix some more warnings, use service pointer rather than service number in...
[jelmer/samba4-debian.git] / source / torture / raw / notify.c
index d744a891e5f979c3b16b79f5e59423f8c4039edf..b9d1d07b5e325c46f71f9bcf400acfd27aeccd3f 100644 (file)
@@ -434,7 +434,6 @@ static BOOL test_notify_mask_change(struct smbcli_state *cli, TALLOC_CTX *mem_ct
        union smb_open io;
        int fnum;
        struct smbcli_request *req1, *req2;
-       union smb_setfileinfo sfinfo;
 
        printf("TESTING CHANGE NOTIFY WITH MASK CHANGE\n");
 
@@ -712,7 +711,7 @@ static BOOL test_notify_mask(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
                NOTIFY_ACTION_MODIFIED,
                FILE_NOTIFY_CHANGE_ATTRIBUTES, 1);
 
-       if (lp_parm_bool(-1, "torture", "samba3", False)) {
+       if (lp_parm_bool(NULL, "torture", "samba3", false)) {
                printf("Samba3 does not yet support create times "
                       "everywhere\n");
        }