| 34 | } |
| 35 | |
| 36 | static int set_diff_algorithm(xpparam_t *xpp, |
| 37 | const char *alg) |
| 38 | { |
| 39 | long diff_algorithm = parse_algorithm_value(alg); |
| 40 | if (diff_algorithm < 0) |
| 41 | return -1; |
| 42 | xpp->flags = (xpp->flags & ~XDF_DIFF_ALGORITHM_MASK) | diff_algorithm; |
| 43 | return 0; |
| 44 | } |
| 45 | |
| 46 | static int diff_algorithm_cb(const struct option *opt, |
| 47 | const char *arg, int unset) |
no test coverage detected