Skip to content

Commit df18c66

Browse files
author
Alexander Korotkov
committed
Remove unused variable.
1 parent d4d9dad commit df18c66

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pg_wait_sampling.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ pg_wait_sampling_get_current(PG_FUNCTION_ARGS)
301301
{
302302
FuncCallContext *funcctx;
303303
WaitCurrentContext *params;
304-
HistoryItem *currentState;
305304

306305
check_shmem();
307306

@@ -371,7 +370,6 @@ pg_wait_sampling_get_current(PG_FUNCTION_ARGS)
371370
/* stuff done on every call of the function */
372371
funcctx = SRF_PERCALL_SETUP();
373372
params = (WaitCurrentContext *) funcctx->user_fctx;
374-
currentState = NULL;
375373

376374
if (funcctx->call_cntr < funcctx->max_calls)
377375
{

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