forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit42a9e88
committed
Add (void) cast in front of rmtree() call at the end of pg_upgrade
Most calls of rmtree() report an error, and the code coming from38bfae3has introduced one caller where this is not done. The previous behaviorwas to not fail hard if any log file generated is not properly unlinkedwhen cleaning up the contents generated once the upgrade has completed,so add a cast to (void) to indicate the intention behind this new code.Per gripe from Coverity.1 parent38bfae3 commit42a9e88
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
754 | 754 |
| |
755 | 755 |
| |
756 | 756 |
| |
757 |
| - | |
| 757 | + | |
758 | 758 |
|
0 commit comments
Comments
(0)