Skip to content

Commit 0138dc7

Browse files
author
Marina Polyakova
committed
Fix compiler warnings due to new checks in PostgreSQL 16
See the commit 0fe954c28584169938e5c0738cfaa9930ce77577 (Add -Wshadow=compatible-local to the standard compilation flags) in PostgreSQL 16. pg_wait_sampling.c: In function ‘pg_wait_sampling_get_current’: pg_wait_sampling.c:454:42: warning: declaration of ‘params’ shadows a previous local [-Wshadow=compatible-local] 454 | WaitCurrentContext *params; | ^~~~~~ pg_wait_sampling.c:446:34: note: shadowed declaration is here 446 | WaitCurrentContext *params; | ^~~~~~
1 parent fb3eb36 commit 0138dc7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pg_wait_sampling.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,6 @@ pg_wait_sampling_get_current(PG_FUNCTION_ARGS)
451451
{
452452
MemoryContext oldcontext;
453453
TupleDesc tupdesc;
454-
WaitCurrentContext *params;
455454

456455
funcctx = SRF_FIRSTCALL_INIT();
457456

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