| 454 | } |
| 455 | |
| 456 | int scenario::xp_get_var(const char *name, const char *what) |
| 457 | { |
| 458 | const char *ptr; |
| 459 | |
| 460 | if (!(ptr = xp_get_value(name))) { |
| 461 | ERROR("%s is missing the required '%s' variable parameter.", what, name); |
| 462 | } |
| 463 | |
| 464 | return get_var(ptr, what); |
| 465 | } |
| 466 | |
| 467 | static int xp_get_optional(const char *name, const char *what) |
| 468 | { |
nothing calls this directly
no test coverage detected