Commit 697cda5
authored
Drop tautological comparison (#2502)
A pointer to a reference cannot be nullptr. If it is, whatever created the
reference in the first place has already crashed. If this is to be protected,
one should return the pointer and check that.1 parent ece9f30 commit 697cda5
1 file changed
Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | 672 | | |
676 | 673 | | |
677 | 674 | | |
| |||
742 | 739 | | |
743 | 740 | | |
744 | 741 | | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | 742 | | |
749 | 743 | | |
750 | 744 | | |
| |||
851 | 845 | | |
852 | 846 | | |
853 | 847 | | |
854 | | - | |
855 | | - | |
856 | | - | |
857 | 848 | | |
858 | 849 | | |
859 | 850 | | |
| |||
0 commit comments