diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2016-12-03 08:09:43 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2016-12-03 08:25:22 +0200 |
commit | f0d3890af4f5df7aaec91bb13306ca55908ada25 (patch) | |
tree | 20b46033913e7dc36dc8b02a8d06f0b458eddefc /libmu_sieve/comparator.c | |
parent | 15f6dbf66eed6bed5c084d97077e7cc5f8e192a7 (diff) | |
download | mailutils-f0d3890af4f5df7aaec91bb13306ca55908ada25.tar.gz mailutils-f0d3890af4f5df7aaec91bb13306ca55908ada25.tar.bz2 |
Cleanup
* include/mailutils/sieve.h (SVT_IDENT): Remove.
* libmu_sieve/comparator.c (mu_sieve_match_part_checker): Remove
unused variable.
* libmu_sieve/mem.c (mu_sieve_reclaim_list): Remove function.
* libmu_sieve/sieve.y: Remove leftover uses of SVT_IDENT.
* libmu_sieve/util.c: Likewise.
* libmu_sieve/sieve-priv.h: Remove useless prototypes.
Diffstat (limited to 'libmu_sieve/comparator.c')
-rw-r--r-- | libmu_sieve/comparator.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libmu_sieve/comparator.c b/libmu_sieve/comparator.c index a0d5836d3..44dd05bbf 100644 --- a/libmu_sieve/comparator.c +++ b/libmu_sieve/comparator.c @@ -217,7 +217,6 @@ mu_sieve_match_part_checker (mu_sieve_machine_t mach) { mu_sieve_value_t *val; char *str; - size_t count; if (compname && strcmp (compname, "i;ascii-numeric")) { @@ -247,7 +246,7 @@ mu_sieve_match_part_checker (mu_sieve_machine_t mach) return 1; } str = mu_sieve_string_raw (mach, &val->v.list, 0)->orig; - count = strtoul (str, &str, 10); + str = mu_str_skip_class (str, MU_CTYPE_DIGIT); if (*str) { mu_diag_at_locus (MU_LOG_ERROR, &mach->locus, |