From 8d4e895af8ebcf174f9041ee0c7274c9abda8df4 Mon Sep 17 00:00:00 2001 From: Calvin Neo Date: Fri, 20 Sep 2024 00:57:25 +0800 Subject: [PATCH] a Signed-off-by: Calvin Neo --- .../engine_store_ffi/src/core/serverless_extra.rs | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/proxy_components/engine_store_ffi/src/core/serverless_extra.rs b/proxy_components/engine_store_ffi/src/core/serverless_extra.rs index 4db83d8edc5..4209a8cfdc6 100644 --- a/proxy_components/engine_store_ffi/src/core/serverless_extra.rs +++ b/proxy_components/engine_store_ffi/src/core/serverless_extra.rs @@ -1,18 +1,13 @@ // Copyright 2024 TiKV Project Authors. Licensed under Apache-2.0. -use std::convert::TryInto; - -use crate::{ - core::common::*, - ffi::interfaces_ffi::{FastAddPeerRes, FastAddPeerStatus}, -}; +use crate::ffi::interfaces_ffi::FastAddPeerRes; #[derive(Default)] pub struct ServerlessExtra { - shard_ver: u64, - inner_key: Vec, - enc_key: Vec, - txn_file_ref: Vec, + _shard_ver: u64, + _inner_key: Vec, + _enc_key: Vec, + _txn_file_ref: Vec, } impl ServerlessExtra {