forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit51940f9
committed
Cast to void in StaticAssertExpr, not its callers.
Seems a bit silly that many (in fact all, as of today) uses ofStaticAssertExpr would need to cast it to void to avoid warnings frompickier compilers. Let's just do the cast right in the macro, instead.In passing, change StaticAssertExpr to StaticAssertStmt in oneplace where that seems more apropos.Discussion:https://postgr.es/m/16161.1518715186@sss.pgh.pa.us1 parent03c5a00 commit51940f9
2 files changed
+6
-6
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
380 | 380 |
| |
381 | 381 |
| |
382 | 382 |
| |
383 |
| - | |
| 383 | + | |
384 | 384 |
| |
385 | 385 |
| |
386 |
| - | |
| 386 | + | |
387 | 387 |
| |
388 | 388 |
| |
389 | 389 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
779 | 779 |
| |
780 | 780 |
| |
781 | 781 |
| |
782 |
| - | |
| 782 | + | |
783 | 783 |
| |
784 | 784 |
| |
785 | 785 |
| |
| |||
796 | 796 |
| |
797 | 797 |
| |
798 | 798 |
| |
799 |
| - | |
| 799 | + | |
800 | 800 |
| |
801 | 801 |
| |
802 | 802 |
| |
| |||
817 | 817 |
| |
818 | 818 |
| |
819 | 819 |
| |
820 |
| - | |
| 820 | + | |
821 | 821 |
| |
822 | 822 |
| |
823 | 823 |
| |
824 | 824 |
| |
825 | 825 |
| |
826 | 826 |
| |
827 |
| - | |
| 827 | + | |
828 | 828 |
| |
829 | 829 |
| |
830 | 830 |
| |
|
0 commit comments
Comments
(0)