| 476 | } |
| 477 | |
| 478 | static char *pj_param_value(paralist *list) { |
| 479 | char *key, *value; |
| 480 | if (nullptr == list) |
| 481 | return nullptr; |
| 482 | |
| 483 | key = list->param; |
| 484 | value = strchr(key, '='); |
| 485 | |
| 486 | /* a flag (i.e. a key without value) has its own name (key) as value */ |
| 487 | return value ? value + 1 : key; |
| 488 | } |
| 489 | |
| 490 | static const PJ_ELLPS *pj_find_ellps(const char *name) { |
| 491 | int i; |
no outgoing calls
no test coverage detected