mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-31 00:54:13 +03:00
Remove unused context variable
This commit is contained in:
parent
cbd9e186b5
commit
f5d4e26799
@ -1161,7 +1161,6 @@ impl MutableAppContext {
|
|||||||
keystroke: &Keystroke,
|
keystroke: &Keystroke,
|
||||||
) -> Result<bool> {
|
) -> Result<bool> {
|
||||||
let mut context_chain = Vec::new();
|
let mut context_chain = Vec::new();
|
||||||
let mut context = keymap::Context::default();
|
|
||||||
for view_id in &responder_chain {
|
for view_id in &responder_chain {
|
||||||
if let Some(view) = self.cx.views.get(&(window_id, *view_id)) {
|
if let Some(view) = self.cx.views.get(&(window_id, *view_id)) {
|
||||||
context_chain.push(view.keymap_context(self.as_ref()));
|
context_chain.push(view.keymap_context(self.as_ref()));
|
||||||
|
Loading…
Reference in New Issue
Block a user