Check if an identifier matches any parameter name. */
| 127 | |
| 128 | /* Check if an identifier matches any parameter name. */ |
| 129 | static bool is_param_name(const char *ident, const char *source, const char **param_names, |
| 130 | int param_count) { |
| 131 | if (!ident || !source || !param_names || param_count == 0) { |
| 132 | return false; |
| 133 | } |
| 134 | for (int i = 0; i < param_count; i++) { |
| 135 | if (param_names[i] && strcmp(ident, param_names[i]) == 0) { |
| 136 | return true; |
| 137 | } |
| 138 | } |
| 139 | return false; |
| 140 | } |
| 141 | |
| 142 | /* ── Main computation ────────────────────────────────────────────── */ |
| 143 |
no outgoing calls
no test coverage detected