From 18e1fa6ea838d56de91f611c4878ef4c43dace2c Mon Sep 17 00:00:00 2001 From: Jacob Pipkin Date: Fri, 30 Nov 2012 07:28:06 -0600 Subject: save the vars --- sbofind | 4 +--- 1 file changed, 1 insertion(+), 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); } -- cgit v1.2.3