@@ -455,8 +455,7 @@ static void incr_free_edge_capture(cbm_edge_capture_t *cap) {
455455static void persist_hashes_row_by_row (cbm_store_t * store , const char * project ,
456456 cbm_file_info_t * files , int file_count ,
457457 const cbm_file_stamp_t * stamps ,
458- const cbm_file_hash_t * mode_skipped ,
459- int mode_skipped_count ) {
458+ const cbm_file_hash_t * mode_skipped , int mode_skipped_count ) {
460459 int current_failed = 0 ;
461460 int ms_failed = 0 ;
462461
@@ -695,9 +694,9 @@ static void run_postpasses(cbm_pipeline_ctx_t *ctx, cbm_file_info_t *changed_fil
695694 * reindexes can correctly distinguish "never indexed" from "indexed but
696695 * not visited this pass". */
697696static void dump_and_persist (cbm_gbuf_t * gbuf , const char * db_path , const char * project ,
698- cbm_file_info_t * files , int file_count ,
699- const cbm_file_stamp_t * stamps , const cbm_file_hash_t * mode_skipped ,
700- int mode_skipped_count , const char * repo_path ) {
697+ cbm_file_info_t * files , int file_count , const cbm_file_stamp_t * stamps ,
698+ const cbm_file_hash_t * mode_skipped , int mode_skipped_count ,
699+ const char * repo_path ) {
701700 struct timespec t ;
702701 cbm_clock_gettime (CLOCK_MONOTONIC , & t );
703702
@@ -716,7 +715,7 @@ static void dump_and_persist(cbm_gbuf_t *gbuf, const char *db_path, const char *
716715 cbm_store_t * hash_store = cbm_store_open_path (db_path );
717716 if (hash_store ) {
718717 persist_hashes (hash_store , project , files , file_count , stamps , mode_skipped ,
719- mode_skipped_count );
718+ mode_skipped_count );
720719
721720 /* FTS5 rebuild after incremental dump. The btree dump path bypasses
722721 * any triggers that could have kept nodes_fts synchronized, so we
@@ -766,8 +765,8 @@ int cbm_pipeline_run_incremental(cbm_pipeline_t *p, const char *db_path, cbm_fil
766765 int n_changed = 0 ;
767766 int n_unchanged = 0 ;
768767 cbm_file_stamp_t * stamps = calloc ((size_t )file_count , sizeof (cbm_file_stamp_t ));
769- bool * is_changed = classify_files ( files , file_count , stored , stored_count , stamps , & n_changed ,
770- & n_unchanged );
768+ bool * is_changed =
769+ classify_files ( files , file_count , stored , stored_count , stamps , & n_changed , & n_unchanged );
771770
772771 /* Classify stored files absent from current discovery: truly-deleted
773772 * (purge) vs mode-skipped (preserve nodes AND hash rows). */
0 commit comments