aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsbofind4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbofind b/sbofind
index ef01852..752c3fe 100755
--- a/sbofind
+++ b/sbofind
@@ -98,9 +98,7 @@ sub get_file_contents ($) {
# get build queue and return it as a single line.
sub show_build_queue ($) {
exists $_[0] or script_error 'show_build_queue requires an argument.';
- my $array_ref = [shift];
- my %warnings;
- my $queue = get_build_queue($array_ref, \%warnings);
+ my $queue = get_build_queue([shift], {});
return join(" ", @$queue);
}