Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

format src/watcher.c

Gol3vka7814d960f35c
diff --git a/src/watcher/watcher.c b/src/watcher/watcher.c
index 3d506f920..cad396318 100644
--- a/src/watcher/watcher.c
+++ b/src/watcher/watcher.c
@@ -335,8 +335,8 @@ void cbm_watcher_unwatch(cbm_watcher_t *w, const char *project_name) {
* drain this list at the start of its next cycle. */
if (w->pending_free_count >= w->pending_free_cap) {
int new_cap = w->pending_free_cap ? w->pending_free_cap * 2 : 8;
- project_state_t **tmp = realloc(w->pending_free,
- (size_t)new_cap * sizeof(project_state_t *));
+ project_state_t **tmp =
+ realloc(w->pending_free, (size_t)new_cap * sizeof(project_state_t *));
if (tmp) {
w->pending_free = tmp;
w->pending_free_cap = new_cap;