Groups | Search | Server Info | Login | Register


Groups > perl.perl5.changes > #34434

[Perl/perl5] 8fbc08: threads.xs: avoid unreachable code

Newsgroups perl.perl5.changes
Date 2026-03-07 04:52 -0800
Message-ID <Perl/perl5/push/refs/heads/blead/aadae5-8fbc08@github.com> (permalink)
Subject [Perl/perl5] 8fbc08: threads.xs: avoid unreachable code
From perl5-changes@perl.org (David Mitchell via perl5-changes)

Show all headers | View raw


  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 8fbc080eab88bdc568bb38f6764e1137a3efb963
      https://github.com/Perl/perl5/commit/8fbc080eab88bdc568bb38f6764e1137a3efb963
  Author: David Mitchell <davem@iabyn.com>
  Date:   2026-03-07 (Sat, 07 Mar 2026)

  Changed paths:
    M dist/threads/threads.xs

  Log Message:
  -----------
  threads.xs: avoid unreachable code

A recent change of mine added an unconditional 'XSRETURN(1)' at the end
of a PPCODE block, meaning that the code which the XS parser adds after
the block is never reached. This made Coverity sad.

So return the value in a different way.

This should make no functional difference.



To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications

Back to perl.perl5.changes | Previous | Next | Find similar


Thread

[Perl/perl5] 8fbc08: threads.xs: avoid unreachable code perl5-changes@perl.org (David Mitchell via perl5-changes) - 2026-03-07 04:52 -0800

csiph-web