forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita376960
committed
Suppress compiler warning for get_am_type_string().
Compilers that don't know that elog(ERROR) doesn't return complainedthat this function might fail to return a value. Per buildfarm.While at it, const-ify the function's declaration, since the intentis evidently to always return a constant string.1 parent0ecd3fe commita376960
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| |||
217 | 217 |
| |
218 | 218 |
| |
219 | 219 |
| |
220 |
| - | |
| 220 | + | |
221 | 221 |
| |
222 |
| - | |
| 222 | + | |
223 | 223 |
| |
224 | 224 |
| |
225 | 225 |
| |
| |||
229 | 229 |
| |
230 | 230 |
| |
231 | 231 |
| |
| 232 | + | |
232 | 233 |
| |
233 | 234 |
| |
234 | 235 |
| |
|
0 commit comments
Comments
(0)