forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1d05627
committed
Fix "ignoring return value" complaints from commit96d1f42
The cfbot and some BF animals are complaining about the previousread_binary_file commit because of ignoring return value of ‘fread’.So let's make everyone happy by testing the return value even thoughnot strictly needed.Reported by Justin Pryzby, and suggested patch by Tom Lane. Backpatchedto v11 same as the previous commit.Reported-By: Justin PryzbyReviewed-By: Tom LaneDiscussion:https://postgr.es/m/flat/969b8d82-5bb2-5fa8-4eb1-f0e685c5d736%40joeconway.comBackpatch-through: 111 parent96d1f42 commit1d05627
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
168 | 168 |
| |
169 | 169 |
| |
170 | 170 |
| |
171 |
| - | |
172 |
| - | |
| 171 | + | |
173 | 172 |
| |
174 | 173 |
| |
175 | 174 |
| |
|
0 commit comments
Comments
(0)