yaffs More tests added to quick tests.
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_open_EISDIR.c
index d86e081ff9215ff06a6a3085355f9f583cdcc797..b15156fa8a364690fd5edb6ae63604eedcc96a2f 100644 (file)
@@ -32,12 +32,11 @@ int test_yaffs_open_EISDIR(void){
                        return -1;
                }
        }
-       else if (output >=0){
+       else {
                printf("non existant directory opened.(which is a bad thing)\n");
                return -1;
        }
-       /* the program should not get here but the compiler is complaining */
-       return -1;
+
 }
 int test_yaffs_open_EISDIR_clean(void){
        if (handle >=0){