# agent: Remove unneeded branch in \`use_pending_tools\` \(\#27922\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/d82bf132ca0ad998e1bf39476be6a1509eae48da)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: d82bf132ca0ad998e1bf39476be6a1509eae48da

Requested commit: d82bf132ca0ad998e1bf39476be6a1509eae48da

Commit: d82bf132ca0ad998e1bf39476be6a1509eae48da

Tree: c2e149a00853c1c59124648bbdc2d3a2d53a9f69

Author: Marshall Bowers

Committer: GitHub

## Message

```
agent: Remove unneeded branch in `use_pending_tools` (#27922)

This PR removes an unneeded `else if` branch that was the same as the
previous branch in the conditional.

Doesn't seem necessary to run this twice.

Release Notes:

- N/A
```

## Parents

- [0f58d4f533fa18a26ec3d0396cff1ad0362c94f5](https://git.cafe/gitcafe/zed/commit/0f58d4f533fa18a26ec3d0396cff1ad0362c94f5?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/d82bf132ca0ad998e1bf39476be6a1509eae48da?format=markdown)
