Skip to content

Commit 9e9fb2f

Browse files
committed
style: satisfy clang-format after freshness changes
Signed-off-by: Leonardo trindade miranda <tmonestudio@gmail.com>
1 parent 90aabed commit 9e9fb2f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎src/mcp/mcp.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5111,9 +5111,9 @@ static void add_worktree_status_json(yyjson_mut_doc *doc, yyjson_mut_val *freshn
51115111
* - equal SHA + status available + no changes → current
51125112
* Report-only: it never triggers indexing. Verbose-only and read-only; the
51135113
* live checkout is resolved fresh from the project root (never mutated). */
5114-
static void add_index_freshness_json(yyjson_mut_doc *doc, yyjson_mut_val *root,
5115-
cbm_store_t *store, const char *project,
5116-
const char *root_path, const char *indexed_generation) {
5114+
static void add_index_freshness_json(yyjson_mut_doc *doc, yyjson_mut_val *root, cbm_store_t *store,
5115+
const char *project, const char *root_path,
5116+
const char *indexed_generation) {
51175117
yyjson_mut_val *freshness = yyjson_mut_obj(doc);
51185118
if (indexed_generation && indexed_generation[0]) {
51195119
yyjson_mut_obj_add_strcpy(doc, freshness, "indexed_generation", indexed_generation);

‎src/store/store.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3853,8 +3853,8 @@ int cbm_store_coverage_meta_get(cbm_store_t *s, const char *project, cbm_coverag
38533853
"ignored_files_stored, ignored_files_total, coverage_version, "
38543854
"hash_records_complete FROM index_coverage_meta WHERE project = ?1;";
38553855
bool has_checkout_column = coverage_meta_has_checkout_column(s);
3856-
if (sqlite3_prepare_v2(s->db, has_checkout_column ? SQL_FULL : SQL_LEGACY, CBM_NOT_FOUND,
3857-
&stmt, NULL) != SQLITE_OK) {
3856+
if (sqlite3_prepare_v2(s->db, has_checkout_column ? SQL_FULL : SQL_LEGACY, CBM_NOT_FOUND, &stmt,
3857+
NULL) != SQLITE_OK) {
38583858
store_set_error_sqlite(s, "coverage meta get prepare");
38593859
return CBM_STORE_ERR;
38603860
}

0 commit comments

Comments
 (0)