Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba1b763

Browse files
Remove superfluous variable assignment
Commit a4205fa moved setting conn to NULL directly after the call to PQfinish, but the original conn = NULL; remained a few lines down. Fix by removing the superfluous assignment. Author: Bharath Rupireddy <[email protected]> Discussion: https://postgr.es/m/CALj2ACVRiNvMDHYQGiRrGs2Z9dOydfLh2MymEk9i8CSn23UtCg@mail.gmail.com
1 parent e042678 commit ba1b763

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bin/pg_basebackup/pg_receivewal.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,6 @@ StreamLog(void)
449449

450450
FreeWalDirectoryMethod();
451451
pg_free(stream.walmethod);
452-
453-
conn = NULL;
454452
}
455453

456454
/*

0 commit comments

Comments
 (0)