diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c index f49e983ba7c..833af10b6f0 100644 --- a/source3/lib/substitute.c +++ b/source3/lib/substitute.c @@ -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());