forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitec56223
committed
Suppress -Wunused-result warnings about write(), again.
Adopt the same solution as in commitaa90e14, but this timelet's put the ugliness inside the write_stderr() macro, instead ofexpecting each call site to deal with it. Back-port that decisioninto psql/common.c where I got the macro from in the first place.Per gripe from Peter Eisentraut.1 parent4044290 commitec56223
2 files changed
+27
-13
lines changedLines changed: 12 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
136 | 136 |
| |
137 | 137 |
| |
138 | 138 |
| |
139 |
| - | |
140 |
| - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
141 | 151 |
| |
142 | 152 |
| |
143 | 153 |
| |
|
Lines changed: 15 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
175 | 175 |
| |
176 | 176 |
| |
177 | 177 |
| |
178 |
| - | |
179 |
| - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
180 | 190 |
| |
181 | 191 |
| |
182 | 192 |
| |
| |||
185 | 195 |
| |
186 | 196 |
| |
187 | 197 |
| |
188 |
| - | |
189 | 198 |
| |
190 | 199 |
| |
191 | 200 |
| |
| |||
202 | 211 |
| |
203 | 212 |
| |
204 | 213 |
| |
205 |
| - | |
206 |
| - | |
207 |
| - | |
208 |
| - | |
| 214 | + | |
209 | 215 |
| |
210 | 216 |
| |
211 |
| - | |
212 |
| - | |
213 |
| - | |
214 |
| - | |
| 217 | + | |
| 218 | + | |
215 | 219 |
| |
216 | 220 |
| |
217 | 221 |
| |
|
0 commit comments
Comments
(0)