aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2024-04-04 15:52:52 -0400
committerRobert Haas <rhaas@postgresql.org>2024-04-04 16:22:11 -0400
commit12b964d7815b2f45fa3fc37264d3d1cb8e4562e3 (patch)
tree5e78c79ba974af177122c35aa81efa844bc75bbc /src
parent096a761d687f1f60dc581f388f8e5b11d648b290 (diff)
downloadpostgresql-12b964d7815b2f45fa3fc37264d3d1cb8e4562e3.tar.gz
postgresql-12b964d7815b2f45fa3fc37264d3d1cb8e4562e3.zip
Remove reachable call to pg_unreachable().
The loop just before this uses break, not return, so this line is reachable. Commit cafe1056558fe07cdc52b95205588fcd80870362 introduced this issue. Jelte Fennema-Nio, reviewed by Tristan Partin Discussion: http://postgr.es/m/CAGECzQTO72jKed5461W8cytV2Msh_e+WUZjOyX_RUQCbjk4LRA@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/command.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index c005624e9c3..479f9f2be59 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -3815,8 +3815,6 @@ wait_until_connected(PGconn *conn)
pg_unreachable();
}
}
-
- pg_unreachable();
}
void