Commit 1adbb34
committed
Fix minor bugs in commit 30bf468 et al.
Coverity complained that the "else" added to fillPGconn() was unreachable,
which it was. Remove the dead code. In passing, rearrange the tests so as
not to bother trying to fetch values for options that can't be assigned.
Pre-9.3 did not have that issue, but it did have a "return" that should be
"goto oom_error" to ensure that a suitable error message gets filled in.1 parent 22dfd11 commit 1adbb34
1 file changed
+6
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
687 | | - | |
688 | | - | |
689 | | - | |
| 687 | + | |
690 | 688 | | |
691 | | - | |
| 689 | + | |
692 | 690 | | |
693 | | - | |
694 | | - | |
695 | 691 | | |
696 | 692 | | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
| |||
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
705 | | - | |
706 | | - | |
707 | 705 | | |
708 | 706 | | |
709 | 707 | | |
| |||
793 | 791 | | |
794 | 792 | | |
795 | 793 | | |
796 | | - | |
797 | 794 | | |
798 | 795 | | |
799 | 796 | | |
| |||
0 commit comments