Skip to content

Commit 94b674e

Browse files
committed
fix(vec0): suppress clang-tidy warning for cleanup function array initialization
1 parent a39311f commit 94b674e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sqlite-vec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8852,7 +8852,7 @@ int vec0Update_Insert(sqlite3_vtab *pVTab, int argc, sqlite3_value **argv,
88528852
void *vectorDatas[VEC0_MAX_VECTOR_COLUMNS];
88538853
// Array to hold cleanup functions for vectorDatas[]
88548854
vector_cleanup cleanups[VEC0_MAX_VECTOR_COLUMNS];
8855-
memset(cleanups, 0, sizeof(cleanups));
8855+
memset(cleanups, 0, sizeof(cleanups)); // NOLINT(bugprone-multi-level-implicit-pointer-conversion)
88568856

88578857
sqlite3_value * partitionKeyValues[VEC0_MAX_PARTITION_COLUMNS];
88588858

0 commit comments

Comments
 (0)