From 20d217765b1782e2f3fb454a0e932a8509666990 Mon Sep 17 00:00:00 2001 From: DastInDark <2350416+hitenkoku@users.noreply.github.com> Date: Sat, 9 Mar 2024 00:36:02 +0900 Subject: [PATCH] fix(configs, main): to erase erased fixed value assignment #1298 --- src/detections/configs.rs | 1 - src/main.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/detections/configs.rs b/src/detections/configs.rs index 3b1956370..e6ff44abe 100644 --- a/src/detections/configs.rs +++ b/src/detections/configs.rs @@ -698,7 +698,6 @@ impl StoredStatic { .unwrap(), Some(&ret), ); - ret.is_low_memory = false; ret } /// detailsのdefault値をファイルから読み取る関数 diff --git a/src/main.rs b/src/main.rs index df949b750..a7c8ba44a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -77,7 +77,6 @@ fn main() { let mut config_reader = ConfigReader::new(); // コマンドのパース情報を作成してstatic変数に格納する let mut stored_static = StoredStatic::create_static_data(config_reader.config); - //stored_static.is_low_memory = true; config_reader.config = None; let mut app = App::new(stored_static.thread_number); app.exec(&mut config_reader.app, &mut stored_static);