Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > perl.perl5.changes > #34434

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

Newsgroups perl.perl5.changes
Path csiph.com!fu-berlin.de!bofh.it!nntp.perl.org
Xref csiph.com perl.perl5.changes:34434
Return-Path <noreply@github.com>
Mailing-List contact perl5-changes-help@perl.org; run by ezmlm
Delivered-To mailing list perl5-changes@perl.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=perl.org; h=date :from:to:message-id:subject:mime-version:content-type :content-transfer-encoding:list-unsubscribe:reply-to; s=dr1; bh= /r83UDZzKA4mWn7A8OCWtgtEZUIMFUgpsJdOa1aiLdM=; b=aSMNeiiRtpN39WsE BXNskTxnRi9wV7hwyV+myKLbg6a6tfnjzWQFs18auTbsGxOWiJxM2t62yyNLVH31 GsxZNzf/kFeAmiv4TlQQlzkK4hCQPoVtfXb2bdVIaVDsATDT28TMXnGykIBiweNB buc6FuSzwfc/UUJ4YQi8cIc+wZkUyZvLpmcReu41m6bKzb2xlKE0bvT+wwZpdx0+ sXqSnt5aKSiQ9Ab6a7fc1ryRUIvVIbNYvHCWroGQ31LXacStoOkFOqnM0JznuxHA XPfYb7NibWT3AD8CQVEcfkMvJCe9ShIZsEqYx0Z8hJEwY1Axdls5a45vuhs4GWeF q+ZEyQ==
Received (qmail 17547 invoked from network); 7 Mar 2026 12:52:25 -0000
Received from xx1.develooper.com (147.75.38.233) by x6.develooper.com with SMTP; 7 Mar 2026 12:52:25 -0000
Received from inbound-egress-10.mailchannels.net (inbound-egress-10.mailchannels.net [23.83.212.2]) by xx1.develooper.com (Postfix) with ESMTP id 4CE7E7CF56 for <perl5-changes@perl.org>; Sat, 7 Mar 2026 04:52:25 -0800 (PST)
ARC-Seal i=1; a=rsa-sha256; d=mailchannels.net; s=arc-2022; cv=none; t=1772887944; b=4hkt/qo/74F6rr6RxjNbiKXtN252dHgvrjFEDqiheIaNlmEgYiOXJxZPSTdWRiAe/62cQQ Rtq/BUUlR+CzCwtgOAiaaZdbnbiw3nAxLVmwYYWXO8RGS+Du6tj1pfDnQOjpoLpGTi/VVp GiokZkjSRuLP/kCiZ/tzZzGRGJ4IuEOfaFt7Z3sOrOLdL4DuAz+Jqs052dJzTef9sVSbms teNkUpHVs4lzzi+vJjUiFyL5DRV1izT2t1uBTuqZvRu6SXzaWTGymEKtVrRu6e7GTyD/r9 96yTfWCBaGMTvFzJ7Q4hYXpud/HLG5G2iZiM55nIk/CzhgCxBd9bzE3PYL3BaQ==
ARC-Message-Signature i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1772887944; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-unsubscribe: dkim-signature; bh=/r83UDZzKA4mWn7A8OCWtgtEZUIMFUgpsJdOa1aiLdM=; b=X77Gxtmp7xAu4ATHFDUxjnNu+YJB+Kp0vH/mAbJNZFudrCg/s4zfg4LWnDsGF20/7EcjQR jfzCDf8n4fiWGP6xvow1FgE/lGVvjmgXObNz2fy+/pFJ/5sdoHYlhcvdKDN1a0LsVx1k6f yK4WaMK2xhLosFZAAAIBlIc4rJ7WNohq2ajrvHj13UH6gPNg7CzNwbdO0auf13DN0wKErI u0WGqBDYQvH14a0A0f7dCQOgF9ho8A+1orKllv8sqw9C03jfe78kf6zF+/1wNr7tMfnRx/ aBAMq5Ihtj5vQMHrtom6XA5syBSoU2WTmumNEssx1F9sibsprdVG7c/7UFlrxA==
ARC-Authentication-Results i=1; inbound-rspamd-57bbd4d544-vlg7n; none
X-Message-ID 3VZBth6NQ7iPqVesrZt5pbIu
Received from out-17.smtp.github.com (out-17.smtp.github.com [192.30.252.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.107.94.117 (trex/7.1.3); Sat, 07 Mar 2026 12:52:24 +0000
Authentication-Results inbound.mailchannels.net; spf=pass smtp.mailfrom=noreply@github.com; dkim=pass header.d=github.com; dmarc=pass (policy=reject; pct=100; status=pass); arc=none
Received-SPF pass (dmarc-service-78968d7585-v676v: domain of github.com designates 192.30.252.200 as permitted sender) client-ip=192.30.252.200; envelope-from=noreply@github.com; helo=out-17.smtp.github.com;
Received from github.com (hubbernetes-node-86fec21.va3-iad.github.net [10.48.179.52]) by smtp.github.com (Postfix) with ESMTPA id 46A0C4E0530 for <perl5-changes@perl.org>; Sat, 7 Mar 2026 04:52:23 -0800 (PST)
Date Sat, 07 Mar 2026 04:52:23 -0800
To perl5-changes@perl.org
Message-ID <Perl/perl5/push/refs/heads/blead/aadae5-8fbc08@github.com> (permalink)
Subject [Perl/perl5] 8fbc08: threads.xs: avoid unreachable code
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-GitHub-Recipient-Address perl5-changes@perl.org
X-Auto-Response-Suppress All
Original-From David Mitchell <noreply@github.com>
Reply-To David Mitchell <noreply@github.com>,
Approved news@nntp.perl.org
From perl5-changes@perl.org (David Mitchell via perl5-changes)

Show key headers only | 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