Commit 49da0067 authored by Tom Lane's avatar Tom Lane

Silence compiler warning induced by commit de438971.

Smarter compilers can see that "slot" can't be used uninitialized,
but some popular ones cannot.  Noted by Jeff Janes.
parent e315346d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment