Remove useless if-test.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 3a2cb59887421a04b5ee158580198d731d115c61
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2018-03-25T18:54:16Z
Releases: 11.0
Remove useless if-test.

Coverity complained that this check is pointless, and it's right.
There is no case where we'd call ExecutorStart with a null plannedstmt,
and if we did, it'd have crashed before here.  Thinko in commit cc415a56d.

Files

PathChange+/−
src/backend/executor/execMain.c modified +1 −3