Commit 5099e8e
committed
Silence compiler warnings
Rearrange a bit of code to ensure that 'mode' in LWLockRelease is
obviously always set, which seems a bit cleaner and avoids a compiler
warning (thanks to Robert for the suggestion!).
Back-patch back to 9.5 where the warning is first seen.
Author: Stephen Frost
Discussion: https://postgr.es/m/20161129152102.GR13284%40tamriel.snowman.net1 parent 7911e78 commit 5099e8e
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1781 | 1781 | | |
1782 | 1782 | | |
1783 | 1783 | | |
1784 | | - | |
1785 | 1784 | | |
1786 | | - | |
1787 | | - | |
1788 | 1785 | | |
1789 | | - | |
1790 | | - | |
| 1786 | + | |
1791 | 1787 | | |
1792 | 1788 | | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
1793 | 1792 | | |
1794 | 1793 | | |
1795 | 1794 | | |
| |||
0 commit comments