We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4d9dad commit df18c66Copy full SHA for df18c66
pg_wait_sampling.c
@@ -301,7 +301,6 @@ pg_wait_sampling_get_current(PG_FUNCTION_ARGS)
301
{
302
FuncCallContext *funcctx;
303
WaitCurrentContext *params;
304
- HistoryItem *currentState;
305
306
check_shmem();
307
@@ -371,7 +370,6 @@ pg_wait_sampling_get_current(PG_FUNCTION_ARGS)
371
370
/* stuff done on every call of the function */
372
funcctx = SRF_PERCALL_SETUP();
373
params = (WaitCurrentContext *) funcctx->user_fctx;
374
- currentState = NULL;
375
376
if (funcctx->call_cntr < funcctx->max_calls)
377
0 commit comments