forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4a21c6f
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 parent5c97243 commit4a21c6f
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 | |
---|---|---|---|
| |||
156 | 156 |
| |
157 | 157 |
| |
158 | 158 |
| |
159 |
| - | |
160 |
| - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
161 | 171 |
| |
162 | 172 |
| |
163 | 173 |
| |
| |||
166 | 176 |
| |
167 | 177 |
| |
168 | 178 |
| |
169 |
| - | |
170 | 179 |
| |
171 | 180 |
| |
172 | 181 |
| |
| |||
183 | 192 |
| |
184 | 193 |
| |
185 | 194 |
| |
186 |
| - | |
187 |
| - | |
188 |
| - | |
189 |
| - | |
| 195 | + | |
190 | 196 |
| |
191 | 197 |
| |
192 |
| - | |
193 |
| - | |
194 |
| - | |
195 |
| - | |
| 198 | + | |
| 199 | + | |
196 | 200 |
| |
197 | 201 |
| |
198 | 202 |
| |
|
0 commit comments
Comments
(0)