forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd63d957
committed
Convert macros to static inline functions (block.h)
Remove BlockIdIsValid(), which wasn't used and is unnecessary.Remove BlockIdCopy(), which wasn't used and can be done by structassignment.(BlockIdEquals() also isn't used, but seems reasonable to keeparound.)Reviewed-by: Amul Sul <sulamul@gmail.com>Discussion:https://www.postgresql.org/message-id/flat/5b558da8-99fb-0a99-83dd-f72f05388517%40enterprisedb.com1 parent495ed0e commitd63d957
1 file changed
+23
-30
lines changedLines changed: 23 additions & 30 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
| 62 | + | |
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
79 | 75 |
| |
80 | 76 |
| |
81 | 77 |
| |
82 | 78 |
| |
83 | 79 |
| |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
99 | 86 |
| |
100 | 87 |
| |
101 | 88 |
| |
102 | 89 |
| |
103 | 90 |
| |
104 |
| - | |
105 |
| - | |
106 |
| - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
107 | 97 |
| |
108 | 98 |
| |
109 | 99 |
| |
110 | 100 |
| |
111 | 101 |
| |
112 |
| - | |
113 |
| - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
114 | 107 |
| |
115 | 108 |
|
0 commit comments
Comments
(0)