Re: [BUGS] postgresql-10.0/src/bin/psql/mainloop.c:465: suspicious condition ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] postgresql-10.0/src/bin/psql/mainloop.c:465: suspicious condition ?
Дата
Msg-id 13799.1507302448@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [BUGS] postgresql-10.0/src/bin/psql/mainloop.c:465: suspicious condition ?  (David Binderman <dcb314@hotmail.com>)
Ответы Re: [BUGS] postgresql-10.0/src/bin/psql/mainloop.c:465: suspiciouscondition ?
Список pgsql-bugs
David Binderman <dcb314@hotmail.com> writes:
> postgresql-10.0/src/bin/psql/mainloop.c:461] -> [postgresql-10.0/src/bin/psql/mainloop.c:465]: (warning) Opposite
inner'if' condition leads to a dead code block. 

Huh ... that code's been like that since 2006.  Odd that nothing's
noticed the dead-ness before.  What tool were you using?
        regards, tom lane


--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #14845: postgres_fdw and mysql_fdw can cause crash of instance
Следующее
От: David Binderman
Дата:
Сообщение: Re: [BUGS] postgresql-10.0/src/bin/psql/mainloop.c:465: suspiciouscondition ?