build: Remove unused functions Import() and GetInfo().
authorJelmer Vernooij <jelmer@samba.org>
Fri, 8 Feb 2008 13:12:46 +0000 (14:12 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 8 Feb 2008 13:12:46 +0000 (14:12 +0100)
source/build/smb_build/env.pm

index bbb72b520fdc9797df74552b68aa8a518ac5bb04..76cd8d1a266f8d74395fdfd814bcc457a9525c0e 100644 (file)
@@ -54,28 +54,4 @@ sub _set_config($$)
        $self->{automatic_deps} = ($self->{config}->{automatic_dependencies} eq "yes");
 }
 
        $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;
 1;