- Notifications
You must be signed in to change notification settings - Fork4.9k
Commite3ad502
committed
Suppress compiler warnings about useless comparison of unsigned to zero.
Reportedly, some compilers warn about tests like "c < 0" if c is unsigned,and hence complain about the character range checks I added in commit3bb3f42. This is a bit of a pain sincethe regex library doesn't really want to assume that chr is unsigned.However, since any such reconfiguration would involve manual edits ofregcustom.h anyway, we can put it on the shoulders of whoever wants todo that to adjust this new range-checking macro correctly.Per gripes from Coverity and Andres.1 parent4492ab5 commite3ad502
2 files changed
+14
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
792 | 792 |
| |
793 | 793 |
| |
794 | 794 |
| |
795 |
| - | |
| 795 | + | |
796 | 796 |
| |
797 | 797 |
| |
798 | 798 |
| |
799 | 799 |
| |
800 | 800 |
| |
801 |
| - | |
| 801 | + | |
802 | 802 |
| |
803 | 803 |
| |
804 | 804 |
| |
| |||
816 | 816 |
| |
817 | 817 |
| |
818 | 818 |
| |
819 |
| - | |
| 819 | + | |
820 | 820 |
| |
821 | 821 |
| |
822 | 822 |
| |
|
Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
71 | 82 |
| |
72 | 83 |
| |
73 | 84 |
| |
|
0 commit comments
Comments
(0)