aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOrhun Parmaksız <orhunparmaksiz@gmail.com>2022-02-27 15:23:59 +0300
committerGitHub <noreply@github.com>2022-02-27 13:23:59 +0100
commit4d64742fd0dac344bee82bac3ad477f5c6bc7753 (patch)
tree509c7a2c77285a6a5a10ead2288481a6517f91ef
parentdocs(add): `podman` as alternative to `docker` (#1137) (diff)
downloadsl0ppij-4d64742fd0dac344bee82bac3ad477f5c6bc7753.tar.gz
sl0ppij-4d64742fd0dac344bee82bac3ad477f5c6bc7753.tar.xz
sl0ppij-4d64742fd0dac344bee82bac3ad477f5c6bc7753.zip
refactor: fix unused code warnings (#1087)
-rw-r--r--zellij-server/src/ui/overlay/mod.rs6
-rw-r--r--zellij-server/src/wasm_vm.rs1
2 files changed, 1 insertions, 6 deletions
diff --git a/zellij-server/src/ui/overlay/mod.rs b/zellij-server/src/ui/overlay/mod.rs
index b0c15995..ff9ac716 100644
--- a/zellij-server/src/ui/overlay/mod.rs
+++ b/zellij-server/src/ui/overlay/mod.rs
@@ -23,12 +23,6 @@ pub trait Overlayable {
}
#[derive(Clone, Debug)]
-struct Padding {
- rows: usize,
- cols: usize,
-}
-
-#[derive(Clone, Debug)]
pub enum OverlayType {
Prompt(prompt::Prompt),
}
diff --git a/zellij-server/src/wasm_vm.rs b/zellij-server/src/wasm_vm.rs
index 6defb32f..ebea0b8c 100644
--- a/zellij-server/src/wasm_vm.rs
+++ b/zellij-server/src/wasm_vm.rs
@@ -73,6 +73,7 @@ pub(crate) struct PluginEnv {
pub subscriptions: Arc<Mutex<HashSet<EventType>>>,
pub tab_index: usize,
pub client_id: ClientId,
+ #[allow(dead_code)]
plugin_own_data_dir: PathBuf,
}