Skip to content

Commit 49da006

Browse files
committed
Silence compiler warning induced by commit de43897.
Smarter compilers can see that "slot" can't be used uninitialized, but some popular ones cannot. Noted by Jeff Janes.
1 parent e315346 commit 49da006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/replication/logical/launcher.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ logicalrep_worker_launch(Oid dbid, Oid subid, const char *subname, Oid userid,
254254
BackgroundWorker bgw;
255255
BackgroundWorkerHandle *bgw_handle;
256256
int i;
257-
int slot;
257+
int slot = 0;
258258
LogicalRepWorker *worker = NULL;
259259
int nsyncworkers;
260260
TimestampTz now;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy