mirror of
https://github.com/postgres/postgres.git
synced 2026-06-10 09:10:33 -04:00
Silence compiler warning induced by commit de4389712.
Smarter compilers can see that "slot" can't be used uninitialized, but some popular ones cannot. Noted by Jeff Janes.
This commit is contained in:
parent
e315346d83
commit
49da00677d
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ logicalrep_worker_launch(Oid dbid, Oid subid, const char *subname, Oid userid,
|
|||
BackgroundWorker bgw;
|
||||
BackgroundWorkerHandle *bgw_handle;
|
||||
int i;
|
||||
int slot;
|
||||
int slot = 0;
|
||||
LogicalRepWorker *worker = NULL;
|
||||
int nsyncworkers;
|
||||
TimestampTz now;
|
||||
|
|
|
|||
Loading…
Reference in a new issue