From 5fced442d72377bfde534a20526903ecf9ecd3dd Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Tue, 23 Jul 2024 14:27:41 +0000 Subject: [PATCH] warning caused by removed body --- pageserver/src/tenant/timeline/detach_ancestor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageserver/src/tenant/timeline/detach_ancestor.rs b/pageserver/src/tenant/timeline/detach_ancestor.rs index c89d3d025b..231eac52d8 100644 --- a/pageserver/src/tenant/timeline/detach_ancestor.rs +++ b/pageserver/src/tenant/timeline/detach_ancestor.rs @@ -136,7 +136,7 @@ impl Default for SharedState { impl SharedState { /// Notify an uninitialized shared state that an attempt to detach timeline ancestor continues /// from previous instance. - pub(crate) fn notify(&self, attempt: &Attempt) {} + pub(crate) fn notify(&self, _attempt: &Attempt) {} /// Only GC must be paused while a detach ancestor is ongoing. Compaction can happen, to aid /// with any ongoing ingestion. Compaction even after restart is ok because layers will not be