tidying
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 2 Apr 2023 21:08:40 +0000 (22:08 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 2 Apr 2023 21:16:46 +0000 (22:16 +0100)
src/src/daemon.c
src/src/expand.c
src/src/regex_cache.c

index caed44bb376667ceec2c825a4eea96b596ca98d0..8ceeac3a66a3325b03f685573fc2c3d9fc76b74e 100644 (file)
@@ -1691,7 +1691,6 @@ int listen_socket_count = 0, poll_fd_count;
 ip_address_item * addresses = NULL;
 time_t last_connection_time = (time_t)0;
 int local_queue_run_max = 0;
-BOOL queue_run_max_has_dollar;
 
 if (is_multiple_qrun())
 
index 9f80439cbae87b0db0cebcd626885b7f074e9122..fe0fd1469400a31d47534e98424682c51f9ca403 100644 (file)
@@ -27,13 +27,6 @@ typedef unsigned esi_flags;
 # ifndef SUPPORT_CRYPTEQ
 #  define SUPPORT_CRYPTEQ
 # endif
-#else
-
-/* Recursively called function */
-
-static uschar *expand_string_internal(const uschar *, esi_flags, const uschar **, BOOL *, BOOL *);
-static int_eximarith_t expanded_string_integer(const uschar *, BOOL);
-
 #endif /*!STAND_ALONE*/
 
 #ifdef LOOKUP_LDAP
@@ -942,6 +935,10 @@ static uschar *mtable_sticky[] =
 #define FH_WANT_RAW    BIT(1)
 #define FH_WANT_LIST   BIT(2)
 
+/* Recursively called function */
+static uschar *expand_string_internal(const uschar *, esi_flags, const uschar **, BOOL *, BOOL *);
+static int_eximarith_t expanded_string_integer(const uschar *, BOOL);
+
 
 /*************************************************
 *           Tables for UTF-8 support             *
index 1ca3c96d5811c5d755d24dcd3dacc8a59a90d18e..91ca8ca0201bc51816cad886ee4abb50cb376893 100644 (file)
@@ -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;