X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/1d28cc061677bd07d9bed48dd84bd5c590247043..12e1cfcb1649e2ea213c2965adf8479f1cff06f7:/src/src/regex_cache.c diff --git a/src/src/regex_cache.c b/src/src/regex_cache.c index a9b482174..91ca8ca02 100644 --- a/src/src/regex_cache.c +++ b/src/src/regex_cache.c @@ -92,11 +92,9 @@ return node ? node->data.ptr : NULL; static void regex_to_cache(const uschar * key, BOOL caseless, const pcre2_code * cre) { -PCRE2_SIZE srelen; -uschar * sre; -tree_node * node; -node = store_get(sizeof(tree_node) + Ustrlen(key) + 1, key); /* we are called with STORE_PERM */ +/* we are called with STORE_PERM */ +tree_node * node = store_get(sizeof(tree_node) + Ustrlen(key) + 1, key); Ustrcpy(node->name, key); node->data.ptr = (void *)cre; @@ -239,7 +237,7 @@ regex_at_daemon(const uschar * reqbuf) { const re_req * req = (const re_req *)reqbuf; uschar * errstr; -const pcre2_code * cre; +const pcre2_code * cre = NULL; if (regex_cachesize >= REGEX_CACHESIZE_LIMIT) errstr = US"regex cache size limit reached";