forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9a725f7
committed
Silence assorted "variable may be used uninitialized" warnings.
All of these are false positives, but in each case a fair amount ofanalysis is needed to see that, and it's not too surprising that not allcompilers are smart enough. (In particular, in the logtape.c case, acompiler lacking the knowledge provided by the Assert would almost surelycomplain, so that this warning will be seen in any non-assert build.)Some of these are of long standing while others are pretty recent,but it only seems worth fixing them in HEAD.Jaime Casanova, tweaked a bit by meDiscussion:https://postgr.es/m/CAJGNTeMcYAMJdPAom52dppLMtF-UnEZi0dooj==75OEv1EoBZA@mail.gmail.com1 parent0c62356 commit9a725f7
File tree
4 files changed
+8
-5
lines changed- src
- backend
- access/transam
- catalog
- utils/sort
- bin/pgbench
4 files changed
+8
-5
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
584 | 584 |
| |
585 | 585 |
| |
586 | 586 |
| |
587 |
| - | |
| 587 | + | |
588 | 588 |
| |
589 | 589 |
| |
590 | 590 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1593 | 1593 |
| |
1594 | 1594 |
| |
1595 | 1595 |
| |
| 1596 | + | |
| 1597 | + | |
1596 | 1598 |
| |
1597 | 1599 |
| |
1598 | 1600 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
411 | 411 |
| |
412 | 412 |
| |
413 | 413 |
| |
414 |
| - | |
| 414 | + | |
415 | 415 |
| |
416 | 416 |
| |
417 | 417 |
| |
|
Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1495 | 1495 |
| |
1496 | 1496 |
| |
1497 | 1497 |
| |
| 1498 | + | |
1498 | 1499 |
| |
1499 | 1500 |
| |
1500 | 1501 |
| |
| |||
1725 | 1726 |
| |
1726 | 1727 |
| |
1727 | 1728 |
| |
1728 |
| - | |
1729 |
| - | |
1730 |
| - | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
1731 | 1732 |
| |
1732 | 1733 |
| |
1733 | 1734 |
| |
|
0 commit comments
Comments
(0)