mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04: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
1 changed files with 0 additions and 2 deletions
|
|
@ -4290,8 +4290,6 @@ getPublications(Archive *fout)
|
|||
|
||||
query = createPQExpBuffer();
|
||||
|
||||
resetPQExpBuffer(query);
|
||||
|
||||
/* Get the publications. */
|
||||
if (fout->remoteVersion >= 130000)
|
||||
appendPQExpBufferStr(query,
|
||||
|
|
|
|||
Loading…
Reference in a new issue