[exim-cvs] tidying

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Exim Git Commits Mailing List
Data:  
Para: exim-cvs
Asunto: [exim-cvs] tidying
Gitweb: https://git.exim.org/exim.git/commitdiff/bac7f52fec3030e8572bf23b88218faa68c8520b
Commit:     bac7f52fec3030e8572bf23b88218faa68c8520b
Parent:     46e3ed8e789f4e1647c3f17f221fe31929ab491d
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sat Jul 27 20:16:35 2024 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sat Jul 27 20:16:35 2024 +0100


    tidying
---
 src/src/dbfn.c    | 6 ++----
 src/src/deliver.c | 2 +-
 src/src/expand.c  | 3 ---
 3 files changed, 3 insertions(+), 8 deletions(-)


diff --git a/src/src/dbfn.c b/src/src/dbfn.c
index 1d24769db..98aebe016 100644
--- a/src/src/dbfn.c
+++ b/src/src/dbfn.c
@@ -170,8 +170,7 @@ open_db *
dbfn_open(const uschar * name, int flags, open_db * dbblock,
BOOL lof, BOOL panic)
{
-int rc, save_errno, dlen, flen;
-flock_t lock_data;
+int save_errno, dlen, flen;
uschar dirname[PATHLEN], filename[PATHLEN];

DEBUG(D_hints_lookup) acl_level++;
@@ -268,8 +267,7 @@ starting a transaction. "lof" and "panic" always true; read/write mode.
open_db *
dbfn_open_multi(const uschar * name, int flags, open_db * dbblock)
{
-int rc, save_errno, dlen;
-flock_t lock_data;
+int save_errno, dlen;
uschar dirname[PATHLEN], filename[PATHLEN];

 DEBUG(D_hints_lookup) acl_level++;
diff --git a/src/src/deliver.c b/src/src/deliver.c
index 19b5c81df..ef2800efe 100644
--- a/src/src/deliver.c
+++ b/src/src/deliver.c
@@ -5279,7 +5279,7 @@ do_remote_deliveries par_reduce par_wait par_read_pipe
   if (continue_transport)
     {
     par_reduce(0, fallback);
-    if (!continue_next_id && continue_wait_db)
+    if (!*continue_next_id && continue_wait_db)
     { dbfn_close_multi(continue_wait_db); continue_wait_db = NULL; }
     }


diff --git a/src/src/expand.c b/src/src/expand.c
index cc8b12224..b50639e4b 100644
--- a/src/src/expand.c
+++ b/src/src/expand.c
@@ -7346,9 +7346,6 @@ NOT_ITEM: ;
     yield = string_catn(yield, sub, t-sub);
     break;
     }
-    {
-    uschar * s = sub;
-    }


       case EOP_UC:
     {


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-cvs.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-cvs-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/