Remove redundant not-null test

Reported-by: Ranier Vilela

Discussion: https://postgr.es/m/MN2PR18MB2927E73FADCA8967B2302469E3490@MN2PR18MB2927.namprd18.prod.outlook.com

Author: Ranier Vilela

Backpatch-through: master
This commit is contained in:
Bruce Momjian 2019-12-17 20:37:22 -05:00
parent 70116493a8
commit 181932a032
1 changed files with 1 additions and 1 deletions

View File

@ -2434,7 +2434,7 @@ ExecComputeSlotInfo(ExprState *state, ExprEvalStep *op)
{
desc = parent->scandesc;
if (parent && parent->scanops)
if (parent->scanops)
tts_ops = parent->scanops;
if (parent->scanopsset)