Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove function sanity_check() for contexts #4506

Merged
merged 2 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions tiledb/sm/c_api/api_argument_validator.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,6 @@ inline int32_t sanity_check(
return TILEDB_OK;
}

/**
* This function is dead code. Validity of the context is now checked in the
* exception wrapper.
*/
inline constexpr int32_t sanity_check(tiledb_ctx_t*) {
return TILEDB_OK;
}

inline int32_t sanity_check(
tiledb_ctx_t* ctx, const tiledb_array_schema_t* array_schema) {
if (array_schema == nullptr || array_schema->array_schema_ == nullptr) {
Expand Down
Loading
Loading