forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1adbb34
committed
Fix minor bugs in commit30bf468 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 asnot 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 parent22dfd11 commit1adbb34
1 file changed
+6
-9
lines changedLines changed: 6 additions & 9 deletions
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
Comments
(0)