- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit07c29ca
committed
Remove unnecessary casts
Some code carefully cast all data buffer arguments for BufFileWrite()and BufFileRead() to void *, even though the arguments are alreadyvoid * (and AFAICT were never anything else). Remove this unnecessaryclutter.Discussion:https://www.postgresql.org/message-id/flat/11dda853-bb5b-59ba-a746-e168b1ce4bdb%40enterprisedb.com1 parent2d4f1ba commit07c29ca
2 files changed
+10
-10
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1227 | 1227 |
| |
1228 | 1228 |
| |
1229 | 1229 |
| |
1230 |
| - | |
1231 |
| - | |
| 1230 | + | |
| 1231 | + | |
1232 | 1232 |
| |
1233 | 1233 |
| |
1234 | 1234 |
| |
| |||
1260 | 1260 |
| |
1261 | 1261 |
| |
1262 | 1262 |
| |
1263 |
| - | |
| 1263 | + | |
1264 | 1264 |
| |
1265 | 1265 |
| |
1266 | 1266 |
| |
| |||
1275 | 1275 |
| |
1276 | 1276 |
| |
1277 | 1277 |
| |
1278 |
| - | |
| 1278 | + | |
1279 | 1279 |
| |
1280 | 1280 |
| |
1281 | 1281 |
| |
|
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1468 | 1468 |
| |
1469 | 1469 |
| |
1470 | 1470 |
| |
1471 |
| - | |
| 1471 | + | |
1472 | 1472 |
| |
1473 | 1473 |
| |
1474 | 1474 |
| |
| |||
1512 | 1512 |
| |
1513 | 1513 |
| |
1514 | 1514 |
| |
1515 |
| - | |
1516 |
| - | |
| 1515 | + | |
| 1516 | + | |
1517 | 1517 |
| |
1518 |
| - | |
| 1518 | + | |
1519 | 1519 |
| |
1520 | 1520 |
| |
1521 | 1521 |
| |
| |||
1533 | 1533 |
| |
1534 | 1534 |
| |
1535 | 1535 |
| |
1536 |
| - | |
| 1536 | + | |
1537 | 1537 |
| |
1538 | 1538 |
| |
1539 | 1539 |
| |
1540 | 1540 |
| |
1541 | 1541 |
| |
1542 | 1542 |
| |
1543 | 1543 |
| |
1544 |
| - | |
| 1544 | + | |
1545 | 1545 |
| |
1546 | 1546 |
| |
1547 | 1547 |
| |
|
0 commit comments
Comments
(0)