forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite70813f
committed
set_deparse_plan: Reuse variable to appease Coverity
Coverity complains that dpns->outer_plan is deferenced (to obtain->targetlist) when possibly NULL. We can avoid this by usingdpns->outer_tlist instead, which was already obtained a few lines up.The fact that we end up with dpns->inner_tlist = dpns->outer_tlistis a bit suspicious-looking and maybe worthy of more investigation, butI'll leave that for another day.Reviewed-by: Michaël Paquier <michael@paquier.xyz>Discussion:https://postgr.es/m/202204191345.qerjy3kxi3eb@alvherre.pgsql1 parenta87e759 commite70813f
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4996 | 4996 |
| |
4997 | 4997 |
| |
4998 | 4998 |
| |
4999 |
| - | |
| 4999 | + | |
5000 | 5000 |
| |
5001 | 5001 |
| |
5002 | 5002 |
| |
|
0 commit comments
Comments
(0)