]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest/s4: remove illegal function signature
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Sat, 7 Dec 2019 09:56:00 +0000 (22:56 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 4 Feb 2020 05:13:40 +0000 (05:13 +0000)
The character ':' has no meaning in function signatures. Perhaps ';' was
intended, which would have marked the later arguments as optional --
which is the default with no signature. All callers always provide all
the arguments anyway.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/target/Samba4.pm

index e1e3af16e3753b46182a55753070ba5dd774f602..3fd70db457005beaba55ce88c0225b7b82712e03 100755 (executable)
@@ -394,7 +394,7 @@ sub get_cmd_env_vars
 # Sets up a forest trust namespace.
 # (Note this is different to kernel namespaces, setup by the
 # USE_NAMESPACES=1 option)
-sub setup_namespaces($$:$$)
+sub setup_namespaces
 {
        my ($self, $localenv, $upn_array, $spn_array) = @_;