Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit554ca69

Browse files
committed
Remove duplicate variable declaration in fe-connect.c
The same variables are declared twice when checking if a connection iswritable, which is useless.Author: Haribabu KommiDiscussion:https://postgr.es/m/CAJrrPGf=rcALB54w_Tg1_hx3y+cgSWaERY-uYSQzGc3Zt5XN4g@mail.gmail.com
1 parent24d08f3 commit554ca69

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

‎src/interfaces/libpq/fe-connect.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3349,9 +3349,6 @@ PQconnectPoll(PGconn *conn)
33493349
if (strncmp(val,"on",2)==0)
33503350
{
33513351
/* Not writable; fail this connection. */
3352-
constchar*displayed_host;
3353-
constchar*displayed_port;
3354-
33553352
PQclear(res);
33563353
restoreErrorMessage(conn,&savedMessage);
33573354

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp