Skip to content

Commit 1b33593

Browse files
author
Sokolov Yura
committed
cfs: .. remove unused variable
1 parent ecef16c commit 1b33593

File tree

1 file changed

+1
-1
lines changed
  • src/backend/storage/file

1 file changed

+1
-1
lines changed

src/backend/storage/file/cfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1491,7 +1491,7 @@ void cfs_gc_start_bgworkers()
14911491
/* Disable garbage collection. */
14921492
void cfs_control_gc_lock(void)
14931493
{
1494-
uint32 was_disabled = pg_atomic_fetch_add_u32(&cfs_state->gc_disabled, 1);
1494+
pg_atomic_fetch_add_u32(&cfs_state->gc_disabled, 1);
14951495
/* Wait until there are no active GC workers */
14961496
while (pg_atomic_read_u32(&cfs_state->n_active_gc) != 0)
14971497
{

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