mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-04 01:24:20 +03:00
Fix warning about unused variable
This commit is contained in:
parent
1eb0f3d091
commit
d000ea9739
@ -153,7 +153,7 @@ impl PickerDelegate for BranchListDelegate {
|
||||
.unwrap()
|
||||
.lock()
|
||||
.change_branch(¤t_pick);
|
||||
if let Err(err) = &status {
|
||||
if status.is_err() {
|
||||
const GIT_CHECKOUT_FAILURE_ID: usize = 2048;
|
||||
self.workspace.update(cx, |model, ctx| {
|
||||
model.show_toast(
|
||||
|
Loading…
Reference in New Issue
Block a user