Skip to content

Commit daa8a45

Browse files
committed
build: resolve mbck build failure on musl
1 parent 5c5e5dd commit daa8a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/mbck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ static ssize_t ck_indices_present(sqlite3 *db)
119119
ssize_t pr = 0;
120120
printf("%s:", __func__);
121121
for (const auto e : names) {
122-
auto e2 = strchr(e, '.');
122+
const char *e2 = strchr(e, '.'); /* CONST-STRCHR-MARKER */
123123
if (e2 == nullptr)
124124
e2 = e;
125125
auto stm = gx_sql_prep(db, fmt::format("PRAGMA index_list({})", ++e2).c_str());

0 commit comments

Comments
 (0)