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()
|
.unwrap()
|
||||||
.lock()
|
.lock()
|
||||||
.change_branch(¤t_pick);
|
.change_branch(¤t_pick);
|
||||||
if let Err(err) = &status {
|
if status.is_err() {
|
||||||
const GIT_CHECKOUT_FAILURE_ID: usize = 2048;
|
const GIT_CHECKOUT_FAILURE_ID: usize = 2048;
|
||||||
self.workspace.update(cx, |model, ctx| {
|
self.workspace.update(cx, |model, ctx| {
|
||||||
model.show_toast(
|
model.show_toast(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue