diff options
| author | har7an <99636919+har7an@users.noreply.github.com> | 2025-03-10 16:50:20 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-10 16:50:20 +0000 |
| commit | 502af243e087523acd00fc2855625112c6a11728 (patch) | |
| tree | 5ccbbb8c2c631a92181779066185b1a20fb71bae /zellij-server/src/plugins/plugin_loader.rs | |
| parent | docs(contributing): update PR statement wording (diff) | |
| download | sl0ppij-502af243e087523acd00fc2855625112c6a11728.tar.gz sl0ppij-502af243e087523acd00fc2855625112c6a11728.tar.xz sl0ppij-502af243e087523acd00fc2855625112c6a11728.zip | |
Fix compiler warnings (#4053)
* chore(cargo): Update dependencies
for xtask subcommand to remove warnings about unknown compiler
attributes.
* deps(xtask): Remove `lazy_static`
as dependency, since the code we need can now be expressed using rusts
`std` builtin types.
* fix(xtask): Hide deprecated args
so the compiler doesn't complain about dead code any more.
* fix(xtask): Remove needless borrow.
* fix: Remove dead code
across the codebase, as discovered by the rust compiler.
* fix(server): Log previously ignored errors.
* fix(xtask): Remove needless `format!` calls.
* fix(xtask): Remove superfluous return statement.
* fix(client): Remove unused enum variant
from `ClientInstruction` and all code attached to it.
* fix(server): Restore functions needed in tests.
* chore: Apply rustfmt.
* fix(server): Add missing code.
* fix: Remove leftover warnings.
* CHANGELOG: Add MR #4026.
* fix(xtask): Pin `xshell` to version 0.2.2
because release 0.2.3 changed the way stdin is handled, breaking
interactive command invocations (such as we use).
Diffstat (limited to 'zellij-server/src/plugins/plugin_loader.rs')
| -rw-r--r-- | zellij-server/src/plugins/plugin_loader.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/zellij-server/src/plugins/plugin_loader.rs b/zellij-server/src/plugins/plugin_loader.rs index 443dab6a..4dac8df8 100644 --- a/zellij-server/src/plugins/plugin_loader.rs +++ b/zellij-server/src/plugins/plugin_loader.rs @@ -639,7 +639,6 @@ impl<'a> PluginLoader<'a> { .filter_map(|export| export.clone().into_func().map(|_| export.name())) { if function_name.ends_with("_worker") { - let plugin_config = self.plugin.clone(); let (mut store, instance) = self.create_plugin_instance_and_wasi_env_for_worker()?; @@ -650,7 +649,7 @@ impl<'a> PluginLoader<'a> { .call(&mut store, ()) .with_context(err_context)?; - let worker = RunningWorker::new(store, instance, &function_name, plugin_config); + let worker = RunningWorker::new(store, instance, &function_name); let worker_sender = plugin_worker(worker); workers.insert(function_name.into(), worker_sender); } |
