]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r19116: fixed a checker warning
authorAndrew Tridgell <tridge@samba.org>
Fri, 6 Oct 2006 07:44:36 +0000 (07:44 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:20:36 +0000 (14:20 -0500)
(This used to be commit 48243721df27fa68b3232d71b411fba1e0ab7010)

source4/lib/replace/test/testsuite.c

index fa5265f66f085bbe70230aa9e6b3b68f6bd7be99..d45304103f7da3a74c1e6bc2ce443314fe94072e 100644 (file)
@@ -231,14 +231,12 @@ static int test_opendir(void)
 
 extern int test_readdir_os2_delete(void);
 
-static bool test_readdir(void)
+static int test_readdir(void)
 {
        printf("testing readdir\n");
        if (test_readdir_os2_delete() != 0) {
                return false;
        }
-
-       /* FIXME */
        return true;
 }
 
@@ -400,7 +398,7 @@ bool torture_local_replace(struct torture_context *torture)
        ret &= test_vasprintf();
        ret &= test_vsnprintf();
        ret &= test_opendir();
-       ret &= test_readdir() ;
+       ret &= test_readdir();
        ret &= test_telldir();
        ret &= test_seekdir();
        ret &= test_dlopen();