mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 14:01:23 +02:00
Remove superfluous variable assignment
Commit a4205fa00
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 <bharath.rupireddyforpostgres@gmail.com>
Discussion: https://postgr.es/m/CALj2ACVRiNvMDHYQGiRrGs2Z9dOydfLh2MymEk9i8CSn23UtCg@mail.gmail.com
This commit is contained in:
parent
e04267844a
commit
ba1b763102
@ -449,8 +449,6 @@ StreamLog(void)
|
|||||||
|
|
||||||
FreeWalDirectoryMethod();
|
FreeWalDirectoryMethod();
|
||||||
pg_free(stream.walmethod);
|
pg_free(stream.walmethod);
|
||||||
|
|
||||||
conn = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user