]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:torture:delete: remove an else, reducing indentation
authorMichael Adam <obnox@samba.org>
Wed, 8 Aug 2012 09:27:55 +0000 (11:27 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 9 Aug 2012 13:29:41 +0000 (15:29 +0200)
source3/torture/torture.c

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