Skip to content

Commit

Permalink
build: resolve mbck build failure on musl
Browse files Browse the repository at this point in the history
  • Loading branch information
jengelh committed Feb 27, 2025
1 parent 5c5e5dd commit daa8a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/mbck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ static ssize_t ck_indices_present(sqlite3 *db)
ssize_t pr = 0;
printf("%s:", __func__);
for (const auto e : names) {
auto e2 = strchr(e, '.');
const char *e2 = strchr(e, '.'); /* CONST-STRCHR-MARKER */
if (e2 == nullptr)
e2 = e;
auto stm = gx_sql_prep(db, fmt::format("PRAGMA index_list({})", ++e2).c_str());
Expand Down

0 comments on commit daa8a45

Please sign in to comment.