forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6c72a28
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 parente1623c3 commit6c72a28
2 files changed
+27
-13
lines changedLines changed: 12 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
137 | 137 |
| |
138 | 138 |
| |
139 | 139 |
| |
140 |
| - | |
141 |
| - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
142 | 152 |
| |
143 | 153 |
| |
144 | 154 |
| |
|
Lines changed: 15 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
235 | 235 |
| |
236 | 236 |
| |
237 | 237 |
| |
238 |
| - | |
239 |
| - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
240 | 250 |
| |
241 | 251 |
| |
242 | 252 |
| |
| |||
245 | 255 |
| |
246 | 256 |
| |
247 | 257 |
| |
248 |
| - | |
249 | 258 |
| |
250 | 259 |
| |
251 | 260 |
| |
| |||
262 | 271 |
| |
263 | 272 |
| |
264 | 273 |
| |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 |
| - | |
| 274 | + | |
269 | 275 |
| |
270 | 276 |
| |
271 |
| - | |
272 |
| - | |
273 |
| - | |
274 |
| - | |
| 277 | + | |
| 278 | + | |
275 | 279 |
| |
276 | 280 |
| |
277 | 281 |
| |
|
0 commit comments
Comments
(0)