From eeec734d321abc4f2282635cdc81026cb74c21b2 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Wed, 5 May 2021 21:30:52 +0200 Subject: [PATCH] fix(config): remove useless warning --- espanso-config/src/legacy/config.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/espanso-config/src/legacy/config.rs b/espanso-config/src/legacy/config.rs index efa0246..ee957fc 100644 --- a/espanso-config/src/legacy/config.rs +++ b/espanso-config/src/legacy/config.rs @@ -526,13 +526,6 @@ impl LegacyConfigSet { let default_file = config_dir.join(DEFAULT_CONFIG_FILE_NAME); let default = LegacyConfig::load_config(default_file.as_path())?; - // Check that a compatible backend is used, otherwise warn the user - if cfg!(not(target_os = "linux")) && default.backend == BackendType::Auto { - eprintln!( - "Warning: Using Auto backend is only supported on Linux, falling back to Inject backend." - ) - } - // Analyze which config files have to be loaded let mut target_files = Vec::new();