mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-26 08:31:04 +00:00
Fix warning about unused variable
This commit is contained in:
parent
1eb0f3d091
commit
d000ea9739
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue