diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-08 14:12:46 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-08 14:12:46 +0100 |
commit | f61780b11c795bdaafc821effea7eacd1fc1d3e2 (patch) | |
tree | dea4e0cd2759873ef7acc9c5a105a987c0161bf6 /source4/build/smb_build | |
parent | f47093baf0a91c717297ebcbd1d3416d788ba6aa (diff) | |
download | samba-f61780b11c795bdaafc821effea7eacd1fc1d3e2.tar.gz samba-f61780b11c795bdaafc821effea7eacd1fc1d3e2.tar.bz2 samba-f61780b11c795bdaafc821effea7eacd1fc1d3e2.zip |
build: Remove unused functions Import() and GetInfo().
(This used to be commit 5c2be1e8a985332e1e81eeab1dc9b50d7f867f98)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r-- | source4/build/smb_build/env.pm | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/source4/build/smb_build/env.pm b/source4/build/smb_build/env.pm index bbb72b520f..76cd8d1a26 100644 --- a/source4/build/smb_build/env.pm +++ b/source4/build/smb_build/env.pm @@ -54,28 +54,4 @@ sub _set_config($$) $self->{automatic_deps} = ($self->{config}->{automatic_dependencies} eq "yes"); } -sub Import($$) -{ - my ($self,$items) = @_; - - foreach (keys %$items) { - if (defined($self->{items})) { - print "Warning: Importing $_ twice!\n"; - } - $self->{items}->{$_} = $items->{$_}; - } -} - -sub GetInfo($$) -{ - my ($self,$name) = @_; - - unless (defined($self->{info}->{$name})) - { - $self->{info}->{$name} = $self->{items}->Build($self); - } - - return $self->{info}->{$name}; -} - 1; |