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

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Binderman <dcb314@hotmail.com>
Cc: "pgsql-bugs@postgresql.org" <pgsql-bugs@postgresql.org>
Date: 2017-10-06T15:37:05Z
Lists: pgsql-bugs
David Binderman <dcb314@hotmail.com> writes:
>> 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.

Thanks.  I've corrected this in HEAD, but it seems not worth
back-patching since it's really just cosmetic.

			regards, tom lane


Commits

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