Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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)