attribute.c: Remove pointless condition in attribute_open().
[paraslash.git] / attribute.c
index a28c92e9c133d80accd97cd884a3d267da63b034..d74ec92839c2c3753ebadf1caf2a06d2f109645e 100644 (file)
@@ -531,7 +531,7 @@ static int attribute_open(const char *dir)
                return ret;
        }
        attribute_table = NULL;
-       if (ret >= 0 || ret == -OSL_ERRNO_TO_PARA_ERROR(E_OSL_NOENT))
+       if (ret == -OSL_ERRNO_TO_PARA_ERROR(E_OSL_NOENT))
                return 1;
        return ret;
 }