- Notifications
You must be signed in to change notification settings - Fork5
Commitaf8a94d
committed
Silence uninitialized variable compiler warning in sepgsql
At -Og optimization gcc warns that variable tclass may be useduninitialized when relkind == RELKIND_INDEX. Actually that can'thappen due to an early return, but quiet the compiler by initializingtclass to 0.In passing, use uint16_t consistently for the declaration of tclass.Complaint and initial patch by Mike Palmiotto. Editorializing by me.Probably not worth backpatching given that it is cosmetic, so applyto development head only.Discussion:https://postgr.es/m/flat/623bcaae-112e-ced0-8c22-a84f75ae0c53%40joeconway.com1 parentbd190ea commitaf8a94d
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
243 | 243 |
| |
244 | 244 |
| |
245 | 245 |
| |
246 |
| - | |
| 246 | + | |
247 | 247 |
| |
248 | 248 |
| |
249 | 249 |
| |
| |||
413 | 413 |
| |
414 | 414 |
| |
415 | 415 |
| |
416 |
| - | |
| 416 | + | |
417 | 417 |
| |
418 | 418 |
| |
419 | 419 |
| |
|
0 commit comments
Comments
(0)