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

From Tom Lane
Subject Re: [BUGS] postgresql-10.0/src/bin/psql/mainloop.c:465: suspicious condition ?
Date
Msg-id 13799.1507302448@sss.pgh.pa.us
Whole thread Raw
In response to [BUGS] postgresql-10.0/src/bin/psql/mainloop.c:465: suspicious condition ?  (David Binderman <dcb314@hotmail.com>)
Responses Re: [BUGS] postgresql-10.0/src/bin/psql/mainloop.c:465: suspiciouscondition ?  (David Binderman <dcb314@hotmail.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14845: postgres_fdw and mysql_fdw can cause crash of instance
Next
From: David Binderman
Date:
Subject: Re: [BUGS] postgresql-10.0/src/bin/psql/mainloop.c:465: suspiciouscondition ?