summaryrefslogtreecommitdiff
path: root/src/fe_utils/string_utils.c
diff options
context:
space:
mode:
authorAlvaro Herrera2022-04-20 09:44:08 +0000
committerAlvaro Herrera2022-04-20 09:44:08 +0000
commite70813fbc4aaca35ec012d5a426706bd54e4acab (patch)
tree2f69ca39209038a8048c2b4af7db14687c9f71ed /src/fe_utils/string_utils.c
parenta87e75956926f966d90bdd1a6bd495cf59cdc3ad (diff)
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 using dpns->outer_tlist instead, which was already obtained a few lines up. The fact that we end up with dpns->inner_tlist = dpns->outer_tlist is a bit suspicious-looking and maybe worthy of more investigation, but I'll leave that for another day. Reviewed-by: MichaĆ«l Paquier <[email protected]> Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/fe_utils/string_utils.c')
0 files changed, 0 insertions, 0 deletions