forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit20559a8
committed
More zic cleanup.
The workaround the IANA guys chose to get rid of the clang warningwe'd silenced in commit23ed2ba turns out not to satisfy Coverity.Go back to the previous solution, ie, remove the useless comparisonto SIZE_MAX. (In principle, there could be machines out there whereit's not useless because ptrdiff_t is wider than size_t. But the wholething is pretty academic anyway, as we could never approach this limitfor any sane estimate of the amount of data that zic will ever be askedto work with.)Also, s/lineno/lineno_t/g, because if we accept their decision to startusing "lineno" as a typedef, it is going to have very unpleasantconsequences in our next pgindent run. Noted that while fooling withpltcl yesterday.1 parent5c24c61 commit20559a8
1 file changed
+11
-12
lines changedLines changed: 11 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 |
| - | |
| 51 | + | |
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
94 |
| - | |
| 94 | + | |
95 | 95 |
| |
96 | 96 |
| |
97 | 97 |
| |
| |||
169 | 169 |
| |
170 | 170 |
| |
171 | 171 |
| |
172 |
| - | |
| 172 | + | |
173 | 173 |
| |
174 | 174 |
| |
175 | 175 |
| |
| |||
178 | 178 |
| |
179 | 179 |
| |
180 | 180 |
| |
181 |
| - | |
| 181 | + | |
182 | 182 |
| |
183 | 183 |
| |
184 | 184 |
| |
| |||
276 | 276 |
| |
277 | 277 |
| |
278 | 278 |
| |
279 |
| - | |
| 279 | + | |
280 | 280 |
| |
281 | 281 |
| |
282 | 282 |
| |
| |||
430 | 430 |
| |
431 | 431 |
| |
432 | 432 |
| |
433 |
| - | |
| 433 | + | |
434 | 434 |
| |
435 | 435 |
| |
436 | 436 |
| |
437 | 437 |
| |
438 | 438 |
| |
439 |
| - | |
440 |
| - | |
| 439 | + | |
441 | 440 |
| |
442 | 441 |
| |
443 | 442 |
| |
| |||
451 | 450 |
| |
452 | 451 |
| |
453 | 452 |
| |
454 |
| - | |
| 453 | + | |
455 | 454 |
| |
456 | 455 |
| |
457 | 456 |
| |
| |||
460 | 459 |
| |
461 | 460 |
| |
462 | 461 |
| |
463 |
| - | |
| 462 | + | |
464 | 463 |
| |
465 | 464 |
| |
466 | 465 |
| |
| |||
1157 | 1156 |
| |
1158 | 1157 |
| |
1159 | 1158 |
| |
1160 |
| - | |
| 1159 | + | |
1161 | 1160 |
| |
1162 | 1161 |
| |
1163 | 1162 |
| |
|
0 commit comments
Comments
(0)