develooper Front page | perl.perl5.changes | Postings from February 2021

[Perl/perl5] 829290: t/loc_tools.pl: Rmv redundant 'if'

From:
Karl Williamson via perl5-changes
Date:
February 11, 2021 19:59
Subject:
[Perl/perl5] 829290: t/loc_tools.pl: Rmv redundant 'if'
Message ID:
Perl/perl5/push/refs/heads/blead/74a633-d702bd@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 829290efccfbe848025308a262d05d38719c0121
      https://github.com/Perl/perl5/commit/829290efccfbe848025308a262d05d38719c0121
  Author: Karl Williamson <khw@cpan.org>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M t/loc_tools.pl

  Log Message:
  -----------
  t/loc_tools.pl: Rmv redundant 'if'


  Commit: fcabef2537a4929bddd09a60c3aa32cd97c5dd88
      https://github.com/Perl/perl5/commit/fcabef2537a4929bddd09a60c3aa32cd97c5dd88
  Author: Karl Williamson <khw@cpan.org>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M t/loc_tools.pl

  Log Message:
  -----------
  t/loc_tools.pl: Sort ourselves, instead of requring it

Instead of demanding the input be sorted, do it ourselves.


  Commit: 639a7c3588769b76e7a726b2c099968b81ee4214
      https://github.com/Perl/perl5/commit/639a7c3588769b76e7a726b2c099968b81ee4214
  Author: Karl Williamson <khw@cpan.org>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Silence compiler warning

Later gcc compilers warn on these intentional fall throughs in a
switch().  Adding FALLTHROUGH would make things a lot less clear, so
turn off the warnings around the whole switch.


  Commit: 39f42f602ea2fc8a89f32a8fc649a4b0d48ecb53
      https://github.com/Perl/perl5/commit/39f42f602ea2fc8a89f32a8fc649a4b0d48ecb53
  Author: Karl Williamson <khw@cpan.org>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M t/re/charset.t

  Log Message:
  -----------
  t/re/charset.t: Rmv unnecessary eval

The called function now does its own eval.


  Commit: e95279b990fe71adf8752b3e776239cd7ec2f656
      https://github.com/Perl/perl5/commit/e95279b990fe71adf8752b3e776239cd7ec2f656
  Author: Karl Williamson <khw@cpan.org>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M util.c

  Log Message:
  -----------
  util.c: Clarify pod for Perl_form


  Commit: d702bd509341ea3ff713e71c51f01e96f0d44886
      https://github.com/Perl/perl5/commit/d702bd509341ea3ff713e71c51f01e96f0d44886
  Author: Karl Williamson <khw@cpan.org>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M sv.c

  Log Message:
  -----------
  sv.c: White space only


Compare: https://github.com/Perl/perl5/compare/74a633732bb2...d702bd509341



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About