Commit 3603db8e 3603db8e6dfc0f78e64abd35c61cd0ed604cdc36 by Sergey Poznyakoff

(sieve_test_address,sieve_test_header): Removed unused variables.

1 parent 067c049d
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
22 #include <stdio.h> 22 #include <stdio.h>
23 #include <stdlib.h> 23 #include <stdlib.h>
24 #include <unistd.h> 24 #include <unistd.h>
25 #include <string.h>
26 #include <sieve.h> 25 #include <sieve.h>
27 26
28 typedef int (*address_aget_t) __PMT ((address_t addr, size_t no, char **buf)); 27 typedef int (*address_aget_t) __PMT ((address_t addr, size_t no, char **buf));
...@@ -111,7 +110,7 @@ retrieve_address (void *item, void *data, int idx, char **pval) ...@@ -111,7 +110,7 @@ retrieve_address (void *item, void *data, int idx, char **pval)
111 int 110 int
112 sieve_test_address (sieve_machine_t mach, list_t args, list_t tags) 111 sieve_test_address (sieve_machine_t mach, list_t args, list_t tags)
113 { 112 {
114 sieve_value_t *h, *v, *arg; 113 sieve_value_t *h, *v;
115 header_t header = NULL; 114 header_t header = NULL;
116 sieve_comparator_t comp = sieve_get_comparator (mach, tags); 115 sieve_comparator_t comp = sieve_get_comparator (mach, tags);
117 sieve_relcmp_t test = sieve_get_relcmp (mach, tags); 116 sieve_relcmp_t test = sieve_get_relcmp (mach, tags);
...@@ -177,7 +176,7 @@ retrieve_header (void *item, void *data, int idx, char **pval) ...@@ -177,7 +176,7 @@ retrieve_header (void *item, void *data, int idx, char **pval)
177 int 176 int
178 sieve_test_header (sieve_machine_t mach, list_t args, list_t tags) 177 sieve_test_header (sieve_machine_t mach, list_t args, list_t tags)
179 { 178 {
180 sieve_value_t *h, *v, *arg; 179 sieve_value_t *h, *v;
181 sieve_comparator_t comp = sieve_get_comparator (mach, tags); 180 sieve_comparator_t comp = sieve_get_comparator (mach, tags);
182 sieve_relcmp_t test = sieve_get_relcmp (mach, tags); 181 sieve_relcmp_t test = sieve_get_relcmp (mach, tags);
183 size_t count, mcount = 0; 182 size_t count, mcount = 0;
......