diff --git a/gitnexus/src/core/ingestion/languages/c/arity-metadata.ts b/gitnexus/src/core/ingestion/languages/c/arity-metadata.ts index 94c12f5bf..2ebdab3a0 100644 --- a/gitnexus/src/core/ingestion/languages/c/arity-metadata.ts +++ b/gitnexus/src/core/ingestion/languages/c/arity-metadata.ts @@ -90,6 +90,6 @@ function findFuncDeclarator(node: SyntaxNode): SyntaxNode | null { if (next === null) break; decl = next; } - if (decl?.type === 'function_declarator') return decl; + if (decl.type === 'function_declarator') return decl; return null; }