Skip to content

Commit

Permalink
Add prototype to silence warning (fixes #85281)
Browse files Browse the repository at this point in the history
Thanks to Petr Pisar for pointing out the problem.

https://rt.cpan.org/Ticket/Display.html?id=85281
  • Loading branch information
tmoertel committed May 15, 2013
1 parent c58b445 commit 31fec44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion THANKS
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
- Andreas Koenig (ANDK) for suggesting that I modify the test
suite for generators (t/gens.t) to emit a notice that test
failures do not necessarily indicate a failure.


- Petr Pisar for reporting a missing prototype
https://rt.cpan.org/Ticket/Display.html?id=85281

--
Tom Moertel <tom@moertel.com>
1 change: 1 addition & 0 deletions lib/Test/LectroTest/Generator.pm
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,7 @@ B<Note:> This combinator does not accept modifiers.
=cut

sub _flatten(@);
sub _flatten(@) {
_concat map { ref($_) ? _flatten(@$_) : ($_) } @_ ;
}
Expand Down

0 comments on commit 31fec44

Please sign in to comment.