summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-16 19:43:10 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-16 19:43:10 +0100
commitf7c8fe62a8506079d6417c149608e49272c0767e (patch)
tree2d4b2b6aeebe2c1ff03cbcfd738777dfd38f79a9 /source4
parent3e6cb51e2028481f1c0dc245c531e4a8b7a644f4 (diff)
downloadsamba-f7c8fe62a8506079d6417c149608e49272c0767e.tar.gz
samba-f7c8fe62a8506079d6417c149608e49272c0767e.tar.bz2
samba-f7c8fe62a8506079d6417c149608e49272c0767e.zip
Merge unused function.
(This used to be commit d3725224cfe0a10e99b0012f4e0e79ea427962de)
Diffstat (limited to 'source4')
-rw-r--r--source4/build/smb_build/makefile.pm13
1 files changed, 2 insertions, 11 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index d8780573b6..7dc296a639 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -88,14 +88,12 @@ sub array2oneperline($)
return $output;
}
-sub _prepare_list_ex($$$$$)
+sub _prepare_list($$$)
{
- my ($self,$ctx,$var,$pre,$post) = @_;
+ my ($self,$ctx,$var) = @_;
my @tmparr = ();
- push(@tmparr, $pre) if defined($pre);
push(@tmparr, @{$ctx->{$var}}) if defined($ctx->{$var});
- push(@tmparr, $post) if defined($post);
my $tmplist = array2oneperline(\@tmparr);
return if ($tmplist eq "");
@@ -103,13 +101,6 @@ sub _prepare_list_ex($$$$$)
$self->output("$ctx->{NAME}_$var =$tmplist\n");
}
-sub _prepare_list($$$)
-{
- my ($self,$ctx,$var) = @_;
-
- $self->_prepare_list_ex($ctx, $var, undef, undef);
-}
-
sub Integrated($$)
{
my ($self,$ctx) = @_;