forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit94f5246
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 parent41562b1 commit94f5246
1 file changed
+12
-11
lines changedLines changed: 12 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1601 | 1601 |
| |
1602 | 1602 |
| |
1603 | 1603 |
| |
1604 |
| - | |
1605 |
| - | |
| 1604 | + | |
1606 | 1605 |
| |
1607 | 1606 |
| |
1608 | 1607 |
| |
| |||
1613 | 1612 |
| |
1614 | 1613 |
| |
1615 | 1614 |
| |
| 1615 | + | |
1616 | 1616 |
| |
1617 | 1617 |
| |
1618 | 1618 |
| |
| |||
1764 | 1764 |
| |
1765 | 1765 |
| |
1766 | 1766 |
| |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
1767 | 1777 |
| |
1768 | 1778 |
| |
1769 | 1779 |
| |
| |||
1782 | 1792 |
| |
1783 | 1793 |
| |
1784 | 1794 |
| |
1785 |
| - | |
1786 |
| - | |
1787 |
| - | |
1788 |
| - | |
1789 |
| - | |
1790 |
| - | |
1791 |
| - | |
1792 |
| - | |
1793 |
| - | |
1794 | 1795 |
| |
1795 | 1796 |
| |
1796 | 1797 |
| |
|
0 commit comments
Comments
(0)