aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib
diff options
context:
space:
mode:
Diffstat (limited to 'SBO-Lib/lib')
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm
index 1087fb4..e9f10d9 100644
--- a/SBO-Lib/lib/SBO/Lib.pm
+++ b/SBO-Lib/lib/SBO/Lib.pm
@@ -749,11 +749,10 @@ sub add_to_queue ($) {
}
# recursively add a sbo's requirements to the build queue.
-sub get_build_queue ($$;$) {
+sub get_build_queue ($$) {
exists $_[1] or script_error 'get_build_queue requires two arguments.';
- my ($sbos, $warnings, $empty) = @_;
- state $temp_queue = [];
- $temp_queue = [] if $empty;
+ my ($sbos, $warnings) = @_;
+ my $temp_queue = [];
for my $sbo (@$sbos) {
my %args = (
QUEUE => $temp_queue,,