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