Skip to content

Commit

Permalink
Tried to clean up err handling
Browse files Browse the repository at this point in the history
- Removed redundant int err declarations.

- Preferred combining "if (err)" conditions such that err gets tested
  before any gotos/breaks/etc. The compiler is smart enough that this
  doesn't improve code size, but it does make the code more readable in
  places.
  • Loading branch information
geky committed Sep 14, 2023
1 parent ed1bec4 commit 4cf0518
Showing 1 changed file with 83 additions and 64 deletions.
Loading

0 comments on commit 4cf0518

Please sign in to comment.