forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7292fd8
committed
Suppress compiler warnings from commitee895a6.
For obscure reasons, some buildfarm members are now generatingcomplaints about plpgsql_call_handler's "retval" variable possiblybeing used uninitialized. It seems no less safe than it was beforethat commit, but these complaints are (mostly?) new. I trust thatinitializing the variable where it's declared will be enough toshut that up.I also notice that some compilers are warning about setjmp clobberof the same variable, which is maybe a bit more defensible. Markit volatile to silence that.Also, rearrange the logic to give procedure_resowner a singlepoint of initialization, in hopes of silencing some setjmp-clobberwarnings about that. (Marking it volatile would serve too, butits sibling variables are depending on single assignment, so let'sstick with that method.)Discussion:https://postgr.es/m/E1l4F1z-0000cN-Lx@gemulon.postgresql.org1 parentf76a850 commit7292fd8
1 file changed
+6
-6
lines changedLines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
224 | 224 |
| |
225 | 225 |
| |
226 | 226 |
| |
227 |
| - | |
228 |
| - | |
| 227 | + | |
| 228 | + | |
229 | 229 |
| |
230 | 230 |
| |
231 | 231 |
| |
| |||
254 | 254 |
| |
255 | 255 |
| |
256 | 256 |
| |
257 |
| - | |
258 |
| - | |
259 |
| - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
260 | 260 |
| |
261 | 261 |
| |
262 | 262 |
| |
| |||
271 | 271 |
| |
272 | 272 |
| |
273 | 273 |
| |
274 |
| - | |
| 274 | + | |
275 | 275 |
| |
276 | 276 |
| |
277 | 277 |
| |
|
0 commit comments
Comments
(0)