Commit e7fb985
committed
gh-90815: Fix _PyMem_MimallocEnabled() compiler warning
Don't declare _PyMem_MimallocEnabled() if WITH_PYMALLOC macro is not
defined (./configure --without-pymalloc).
Fix also a typo in _PyInterpreterState_FinalizeAllocatedBlocks().1 parent cd6e0a0 commit e7fb985
1 file changed
Lines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
| 564 | + | |
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
571 | | - | |
572 | 571 | | |
573 | 572 | | |
574 | 573 | | |
| |||
579 | 578 | | |
580 | 579 | | |
581 | 580 | | |
582 | | - | |
| 581 | + | |
583 | 582 | | |
584 | 583 | | |
585 | 584 | | |
| |||
591 | 590 | | |
592 | 591 | | |
593 | 592 | | |
594 | | - | |
595 | | - | |
| 593 | + | |
| 594 | + | |
596 | 595 | | |
597 | 596 | | |
598 | 597 | | |
| |||
1028 | 1027 | | |
1029 | 1028 | | |
1030 | 1029 | | |
1031 | | - | |
1032 | 1030 | | |
1033 | 1031 | | |
1034 | 1032 | | |
| |||
1038 | 1036 | | |
1039 | 1037 | | |
1040 | 1038 | | |
1041 | | - | |
1042 | 1039 | | |
1043 | 1040 | | |
1044 | 1041 | | |
| |||
1073 | 1070 | | |
1074 | 1071 | | |
1075 | 1072 | | |
1076 | | - | |
| 1073 | + | |
1077 | 1074 | | |
1078 | 1075 | | |
1079 | 1076 | | |
| |||
0 commit comments