Skip to content

Commit df5e01d

Browse files
author
Alexander Korotkov
committed
Remove unused variable.
1 parent 6de4845 commit df5e01d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

contrib/pg_stat_wait/pg_stat_wait.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,6 @@ pg_stat_wait_get_current(PG_FUNCTION_ARGS)
522522
{
523523
FuncCallContext *funcctx;
524524
WaitCurrentContext *params;
525-
HistoryItem *currentState;
526525

527526
if (SRF_IS_FIRSTCALL())
528527
{
@@ -581,7 +580,6 @@ pg_stat_wait_get_current(PG_FUNCTION_ARGS)
581580
/* stuff done on every call of the function */
582581
funcctx = SRF_PERCALL_SETUP();
583582
params = (WaitCurrentContext *)funcctx->user_fctx;
584-
currentState = NULL;
585583

586584
if (funcctx->call_cntr < funcctx->max_calls)
587585
{

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