diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2018-05-07 14:42:35 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2018-05-07 14:42:35 +0100 |
commit | 0488984dcd596341bdeacee57fa1ba2940d6a951 (patch) | |
tree | 137c070eb474eab73e10c03f58a24da637210a6c /src | |
parent | cfbb0d24e87427488fec0315366c27cdff1fcc20 (diff) |
tidying
Diffstat (limited to 'src')
-rw-r--r-- | src/src/search.c | 8 | ||||
-rw-r--r-- | src/src/string.c | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/src/search.c b/src/src/search.c index b1dc884c9..8f46c7e85 100644 --- a/src/src/search.c +++ b/src/src/search.c @@ -464,10 +464,10 @@ Returns: a pointer to a dynamic string containing the answer, static uschar * internal_search_find(void *handle, uschar *filename, uschar *keystring) { -tree_node *t = (tree_node *)handle; -search_cache *c = (search_cache *)(t->data.ptr); -expiring_data *e; -uschar *data = NULL; +tree_node * t = (tree_node *)handle; +search_cache * c = (search_cache *)(t->data.ptr); +expiring_data * e = NULL; /* compiler quietening */ +uschar * data = NULL; int search_type = t->name[0] - '0'; int old_pool = store_pool; diff --git a/src/src/string.c b/src/src/string.c index 5a8d0e763..3abe2a3bd 100644 --- a/src/src/string.c +++ b/src/src/string.c @@ -1059,8 +1059,6 @@ gstring * string_append2_listele_n(gstring * list, const uschar * sepstr, const uschar * ele, unsigned len) { -const uschar * sp; - if (list && list->ptr) list = string_cat(list, sepstr); |