| 90 | } |
| 91 | |
| 92 | static intmax_t get_int_value(const struct option *opt, enum opt_parsed flags) |
| 93 | { |
| 94 | intmax_t ret; |
| 95 | if (do_get_int_value(opt->value, opt->precision, &ret)) |
| 96 | BUG("invalid precision for option %s", optname(opt, flags)); |
| 97 | return ret; |
| 98 | } |
| 99 | |
| 100 | static enum parse_opt_result set_int_value(const struct option *opt, |
| 101 | enum opt_parsed flags, |
no test coverage detected