Обсуждение: pgsql: Trivial dead code removal: in _complete_from_query(), 'text'

Поиск
Список
Период
Сортировка

pgsql: Trivial dead code removal: in _complete_from_query(), 'text'

От
neilc@svr1.postgresql.org (Neil Conway)
Дата:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/bin/psql:
        tab-complete.c (r1.131 -> r1.132)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/tab-complete.c.diff?r1=1.131&r2=1.132)