s3:torture:delete: remove an else, reducing indentation
authorMichael Adam <obnox@samba.org>
Wed, 8 Aug 2012 10:19:31 +0000 (12:19 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 9 Aug 2012 13:29:44 +0000 (15:29 +0200)
source3/torture/torture.c

index 14dfad152aba3d6d72c8f1bdd32b12166d424705..243a8a7f44b168a7b85b5ae33c80dae763d5aeb9 100644 (file)
@@ -4288,8 +4288,9 @@ static bool run_deletetest(int dummy)
                printf("[10] open of %s succeeded should have been deleted on close !\n", fname);
                goto fail;
                correct = False;
-       } else
-               printf("tenth delete on close test succeeded.\n");
+       }
+
+       printf("tenth delete on close test succeeded.\n");
 
        cli_setatr(cli1, fname, 0, 0);
        cli_unlink(cli1, fname, FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN);