forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7821f72
committed
Clean up overly paranoid checks in mac8.c
Andres' compiler points out, quite correctly, that there's no need forsome of the overly paranoid checks which were put into mac8.c. Removethose, as they're useless, add some comments and make a few other minorimprovements- reduce the size of hexlookup by making it a char arrayinstead of an int array, and pass in the ptr location directly insteadof making hex2_to_uchar re-calculate the location based off the offsetevery time.1 parent6977b8b commit7821f72
1 file changed
+25
-17
lines changedLines changed: 25 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
51 | 60 |
| |
52 |
| - | |
| 61 | + | |
53 | 62 |
| |
54 | 63 |
| |
55 |
| - | |
56 |
| - | |
| 64 | + | |
57 | 65 |
| |
58 | 66 |
| |
59 |
| - | |
| 67 | + | |
60 | 68 |
| |
61 | 69 |
| |
62 | 70 |
| |
63 |
| - | |
| 71 | + | |
64 | 72 |
| |
65 | 73 |
| |
66 | 74 |
| |
67 | 75 |
| |
68 | 76 |
| |
69 | 77 |
| |
70 | 78 |
| |
71 |
| - | |
| 79 | + | |
72 | 80 |
| |
73 | 81 |
| |
74 | 82 |
| |
75 |
| - | |
| 83 | + | |
76 | 84 |
| |
77 | 85 |
| |
78 | 86 |
| |
| |||
128 | 136 |
| |
129 | 137 |
| |
130 | 138 |
| |
131 |
| - | |
| 139 | + | |
132 | 140 |
| |
133 | 141 |
| |
134 |
| - | |
| 142 | + | |
135 | 143 |
| |
136 | 144 |
| |
137 |
| - | |
| 145 | + | |
138 | 146 |
| |
139 | 147 |
| |
140 |
| - | |
| 148 | + | |
141 | 149 |
| |
142 | 150 |
| |
143 |
| - | |
| 151 | + | |
144 | 152 |
| |
145 | 153 |
| |
146 |
| - | |
| 154 | + | |
147 | 155 |
| |
148 | 156 |
| |
149 |
| - | |
| 157 | + | |
150 | 158 |
| |
151 | 159 |
| |
152 |
| - | |
| 160 | + | |
153 | 161 |
| |
154 | 162 |
| |
155 | 163 |
| |
|
0 commit comments
Comments
(0)