1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3: lib: Now remote_machine is static, we can depend on it being non-NULL.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Feb  7 18:26:15 UTC 2020 on sn-devel-184
This commit is contained in:
Jeremy Allison 2020-02-06 13:36:41 -08:00
parent 7a7b597b3d
commit 859a86b37e

View File

@ -532,9 +532,7 @@ char *talloc_sub_basic(TALLOC_CTX *mem_ctx,
break;
case 'm' :
a_string = realloc_string_sub(a_string, "%m",
remote_machine
? remote_machine
: "");
remote_machine);
break;
case 'v' :
a_string = realloc_string_sub(a_string, "%v", samba_version_string());