]> granicus.if.org Git - postgresql/commit
Trivial dead code removal: in _complete_from_query(), 'text' cannot be
authorNeil Conway <neilc@samurai.com>
Tue, 21 Jun 2005 00:48:33 +0000 (00:48 +0000)
committerNeil Conway <neilc@samurai.com>
Tue, 21 Jun 2005 00:48:33 +0000 (00:48 +0000)
commit2d4b9736bb9a5cd7228004f4ce2f21926f9087ee
treef03ce1baffc71638666c749a9091ec73e46ae051
parent141e878bc3afd6cd271b273ed1e43f0c07666248
Trivial dead code removal: in _complete_from_query(), 'text' cannot be
NULL (e.g. due to the preceding strlen()). Therefore we needn't recheck
this before initializing 'e_text'.

Per Coverity static analysis performed by EnterpriseDB.
src/bin/psql/tab-complete.c