Avoid unused-static-function warnings: helpers compiled but not yet used * outside the smoke tests will be referenced in Phase 3+ tests. */
| 31 | /* Avoid unused-static-function warnings: helpers compiled but not yet used |
| 32 | * outside the smoke tests will be referenced in Phase 3+ tests. */ |
| 33 | __attribute__((unused)) |
| 34 | static int require_resolved(const CBMFileResult *r, const char *callerSub, const char *calleeSub) { |
| 35 | int idx = find_resolved(r, callerSub, calleeSub); |
| 36 | if (idx < 0) { |
| 37 | printf(" MISSING resolved call: caller~%s -> callee~%s (have %d)\n", |
| 38 | callerSub, calleeSub, r->resolved_calls.count); |
| 39 | for (int i = 0; i < r->resolved_calls.count; i++) { |
| 40 | const CBMResolvedCall *rc = &r->resolved_calls.items[i]; |
| 41 | printf(" %s -> %s [%s %.2f]\n", |
| 42 | rc->caller_qn ? rc->caller_qn : "(null)", |
| 43 | rc->callee_qn ? rc->callee_qn : "(null)", |
| 44 | rc->strategy ? rc->strategy : "(null)", |
| 45 | rc->confidence); |
| 46 | } |
| 47 | } |
| 48 | return idx; |
| 49 | } |
| 50 | |
| 51 | /* ── Phase 2 — smoke ───────────────────────────────────────────── */ |
| 52 |
no test coverage detected