This repository was archived by the owner on Jun 1, 2023. It is now read-only.
Commit 9684ef2
Reini Urban
pp_sys: Remove unnecessary uses of sv_mortalcopy.
From evalEmpire/parfait@aa8be68
Author: Michael G. Schwern <schwern@pobox.com>
Date: Mon Nov 2 18:38:51 2015 -0800
Remove unnecessary uses of sv_mortalcopy.
It seems `sv_mortalcopy(&sv_no);` used to be how you created a new SV
back in 5.000. The code would do things like this...
PUSHs(sv = sv_mortalcopy(&sv_no));
sv_setpvn(sv, hent->h_addr, len);
Not all of this got converted to use the new macros.1 parent 7407a67 commit 9684ef2
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5032 | 5032 | | |
5033 | 5033 | | |
5034 | 5034 | | |
5035 | | - | |
| 5035 | + | |
5036 | 5036 | | |
5037 | 5037 | | |
5038 | 5038 | | |
| |||
5532 | 5532 | | |
5533 | 5533 | | |
5534 | 5534 | | |
5535 | | - | |
| 5535 | + | |
5536 | 5536 | | |
5537 | 5537 | | |
5538 | 5538 | | |
| |||
5546 | 5546 | | |
5547 | 5547 | | |
5548 | 5548 | | |
5549 | | - | |
| 5549 | + | |
5550 | 5550 | | |
5551 | 5551 | | |
5552 | 5552 | | |
| |||
5625 | 5625 | | |
5626 | 5626 | | |
5627 | 5627 | | |
5628 | | - | |
| 5628 | + | |
5629 | 5629 | | |
5630 | 5630 | | |
5631 | 5631 | | |
| |||
0 commit comments