Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 3b8e22dce3538964a9e2872578817c4fc335d8c4
https://github.com/Perl/perl5/commit/3b8e22dce3538964a9e2872578817c4fc335d8c4
Author: Lukas Mai <[email protected]>
Date: 2025-12-28 (Sun, 28 Dec 2025)
Changed paths:
M inline.h
Log Message:
-----------
inline.h: fix Perl_cx_poploop() build warning
... which results from the compiler being unable to prove that the
switch is exhaustive, which it is indeed not.
This one:
In file included from perl.h:7973,
from pp_ctl.c:35:
In function ‘Perl_SvREFCNT_dec’,
inlined from ‘Perl_cx_poploop’ at inline.h:4194:13:
sv_inline.h:689:8: warning: ‘oldsv’ may be used uninitialized
[-Wmaybe-uninitialized]
689 | if (LIKELY(sv != NULL)) {
| ^
In file included from perl.h:7972:
inline.h: In function ‘Perl_cx_poploop’:
inline.h:4172:17: note: ‘oldsv’ was declared here
4172 | SV *oldsv;
| ^~~~~
Fixes #24033.
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications