- Notifications
You must be signed in to change notification settings - Fork5
Commit57ce9ac
committed
Remove dead code in pg_dump.
Coverity quite reasonably complained that this check for fout==NULLoccurred after we'd already dereferenced fout. However, the checkis just dead code since there is no code path by which CreateArchivecan return a null pointer. Errors such as can't-open-that-file arereported down inside CreateArchive, and control doesn't return.So let's silence the warning by removing the dead code, rather thancontinuing to pretend it does something.Coverity didn't complain about this before5b5fea2, so back-patchto 9.5 like that patch.1 parent4189e3d commit57ce9ac
1 file changed
+0
-3
lines changedLines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
617 | 617 |
| |
618 | 618 |
| |
619 | 619 |
| |
620 |
| - | |
621 |
| - | |
622 |
| - | |
623 | 620 |
| |
624 | 621 |
| |
625 | 622 |
| |
|
0 commit comments
Comments
(0)