forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit15e9457
committed
Fix uninitialized-variable bug.
For some reason, neither of the compilers I usually use noticed theuninitialized-variable problem I introduced in commit7e2a18a.That's hardly a good enough excuse though. Committing with brown paper bagon head.In addition to putting the operations in the right order, move thedeclaration of "now" inside the loop; there's no need for it to beoutside, and that does wake up older gcc enough to notice any similarfuture problem.Back-patch to 9.4; earlier versions lack the time-to-SIGKILL stanzaso there's no bug.1 parent56f9d91 commit15e9457
1 file changed
+12
-11
lines changedLines changed: 12 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1596 | 1596 |
| |
1597 | 1597 |
| |
1598 | 1598 |
| |
1599 |
| - | |
1600 |
| - | |
| 1599 | + | |
1601 | 1600 |
| |
1602 | 1601 |
| |
1603 | 1602 |
| |
| |||
1608 | 1607 |
| |
1609 | 1608 |
| |
1610 | 1609 |
| |
| 1610 | + | |
1611 | 1611 |
| |
1612 | 1612 |
| |
1613 | 1613 |
| |
| |||
1759 | 1759 |
| |
1760 | 1760 |
| |
1761 | 1761 |
| |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
1762 | 1772 |
| |
1763 | 1773 |
| |
1764 | 1774 |
| |
| |||
1777 | 1787 |
| |
1778 | 1788 |
| |
1779 | 1789 |
| |
1780 |
| - | |
1781 |
| - | |
1782 |
| - | |
1783 |
| - | |
1784 |
| - | |
1785 |
| - | |
1786 |
| - | |
1787 |
| - | |
1788 |
| - | |
1789 | 1790 |
| |
1790 | 1791 |
| |
1791 | 1792 |
| |
|
0 commit comments
Comments
(0)