forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite481d26
committed
Clean up minor warnings from buildfarm.
Be more consistent about use of XXXGetDatum macros in new jsonpathcode. This is mostly to avoid having code that looks randomlydifferent from everyplace else that's doing the exact same thing.In pg_regress.c, avoid an unreferenced-function warning fromcompilers that don't understand pg_attribute_unused(). Puttingthe function inside the same #ifdef as its only caller is morestraightforward coding anyway.In be-secure-openssl.c, avoid use of pg_attribute_unused() on a label.That's pretty creative, but there's no good reason to suppose thatit's portable, and there's absolutely no need to use goto's here in thefirst place. (This wasn't actually causing any buildfarm complaints,but it's new code in v12 so it has no portability track record.)1 parentac86237 commite481d26
File tree
5 files changed
+15
-14
lines changed- src
- backend
- libpq
- utils/adt
- test/regress
5 files changed
+15
-14
lines changedLines changed: 3 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1287 | 1287 |
| |
1288 | 1288 |
| |
1289 | 1289 |
| |
1290 |
| - | |
| 1290 | + | |
1291 | 1291 |
| |
1292 | 1292 |
| |
1293 | 1293 |
| |
1294 | 1294 |
| |
1295 | 1295 |
| |
1296 |
| - | |
| 1296 | + | |
1297 | 1297 |
| |
1298 | 1298 |
| |
1299 | 1299 |
| |
1300 | 1300 |
| |
1301 | 1301 |
| |
1302 |
| - | |
| 1302 | + | |
1303 | 1303 |
| |
1304 | 1304 |
| |
1305 | 1305 |
| |
1306 |
| - | |
1307 |
| - | |
1308 | 1306 |
| |
1309 | 1307 |
| |
1310 | 1308 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
499 | 499 |
| |
500 | 500 |
| |
501 | 501 |
| |
502 |
| - | |
| 502 | + | |
503 | 503 |
| |
504 | 504 |
| |
505 | 505 |
| |
|
Lines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1742 | 1742 |
| |
1743 | 1743 |
| |
1744 | 1744 |
| |
1745 |
| - | |
1746 |
| - | |
| 1745 | + | |
1747 | 1746 |
| |
1748 | 1747 |
| |
1749 | 1748 |
| |
| |||
2109 | 2108 |
| |
2110 | 2109 |
| |
2111 | 2110 |
| |
2112 |
| - | |
2113 |
| - | |
| 2111 | + | |
| 2112 | + | |
2114 | 2113 |
| |
2115 | 2114 |
| |
2116 | 2115 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
359 | 359 |
| |
360 | 360 |
| |
361 | 361 |
| |
362 |
| - | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
363 | 365 |
| |
364 | 366 |
| |
365 | 367 |
| |
|
Lines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
881 | 881 |
| |
882 | 882 |
| |
883 | 883 |
| |
884 |
| - | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
885 | 887 |
| |
886 | 888 |
| |
887 | 889 |
| |
| |||
904 | 906 |
| |
905 | 907 |
| |
906 | 908 |
| |
907 |
| - | |
908 | 909 |
| |
909 | 910 |
| |
910 | 911 |
| |
| |||
1072 | 1073 |
| |
1073 | 1074 |
| |
1074 | 1075 |
| |
1075 |
| - | |
| 1076 | + | |
| 1077 | + | |
1076 | 1078 |
| |
1077 | 1079 |
| |
1078 | 1080 |
| |
|
0 commit comments
Comments
(0)