From: Volker Lendecke Date: Fri, 9 Feb 2024 17:16:26 +0000 (+0100) Subject: smbd: Save a few lines in smbXsrv_client_global_init() X-Git-Tag: tdb-1.4.11~892 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60b724a7e59da03ec0d4d211c8330bf00b83c9cc;p=thirdparty%2Fsamba.git smbd: Save a few lines in smbXsrv_client_global_init() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/smbXsrv_client.c b/source3/smbd/smbXsrv_client.c index c05ca235a51..aece7c0d8aa 100644 --- a/source3/smbd/smbXsrv_client.c +++ b/source3/smbd/smbXsrv_client.c @@ -81,10 +81,7 @@ NTSTATUS smbXsrv_client_global_init(void) DBWRAP_FLAG_NONE); TALLOC_FREE(global_path); if (backend == NULL) { - NTSTATUS status; - - status = map_nt_error_from_unix_common(errno); - + NTSTATUS status = map_nt_error_from_unix_common(errno); return status; }