mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 13:26:36 +00:00
five-bugs-a-day: use splice to trim the bug list
This commit is contained in:
parent
b259b5c476
commit
4ebe1c0b78
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ my @all_bugs = keys %BUGS;
|
|||
my @bugs = shuffle (\@all_bugs);
|
||||
|
||||
# only want first NUM_BUGS bugs
|
||||
$#bugs = $NUM_BUGS;
|
||||
@bugs = splice (@bugs, 0, $NUM_BUGS);
|
||||
|
||||
print "\n";
|
||||
print "$NUM_BUGS random bugs:\n";
|
||||
|
|
Loading…
Reference in a new issue