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

index 31318c622fed0c894d537ba8ed63416b85a428b3..d208925320661811a9cb484d0129a022f436e101 100644 (file)
@@ -3932,8 +3932,9 @@ static bool run_deletetest(int dummy)
                cli_unlink(cli1, fname, FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN);
                correct = False;
                goto fail;
-       } else
-               printf("second delete on close test succeeded.\n");
+       }
+
+       printf("second delete on close test succeeded.\n");
 
        /* Test 3 - ... */
        cli_setatr(cli1, fname, 0, 0);