mirror of
https://github.com/postgres/postgres.git
synced 2025-05-11 05:41:32 +03:00
Remove superfluous PQExpBuffer resetting
Since the buffer was just created, there is no reason to immediately reset it. Reviewed-by: Ranier Vilela <ranier.vf@gmail.com> Discussion: https://postgr.es/m/C2F05B3C-1414-45DD-AE09-6FEE4D0F89BD@yesql.se
This commit is contained in:
parent
94902b146f
commit
1a123e3b13
@ -4290,8 +4290,6 @@ getPublications(Archive *fout)
|
||||
|
||||
query = createPQExpBuffer();
|
||||
|
||||
resetPQExpBuffer(query);
|
||||
|
||||
/* Get the publications. */
|
||||
if (fout->remoteVersion >= 130000)
|
||||
appendPQExpBufferStr(query,
|
||||
|
Loading…
x
Reference in New Issue
Block a user