Skip to content

Commit

Permalink
Remove exit: return idiom from src/ble (project-chip#7518)
Browse files Browse the repository at this point in the history
#### Problem

The `Exit` group of error-handling macros inhibit scoping, and
are unnecessary when there is no cleanup at the `exit:` label.

#### Change overview

- Remove `exit: return` idiom from `src/ble`, replacing `Exit` macros
  with corresponding `Return` macros.

#### Testing

No change to functionality; existing tests should catch regressions.
  • Loading branch information
kpschoedel authored and Nikita committed Sep 23, 2021
1 parent 16566e4 commit ed120f0
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 189 deletions.
Loading

0 comments on commit ed120f0

Please sign in to comment.