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

David Binderman <dcb314@hotmail.com>

From: David Binderman <dcb314@hotmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: "pgsql-bugs@postgresql.org" <pgsql-bugs@postgresql.org>
Date: 2017-10-06T15:10:29Z
Lists: pgsql-bugs
Hello there,

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

cppcheck, available from sourceforge.

Regards

David Binderman
    

Commits

  1. #ifdef out some dead code in psql/mainloop.c.