Skip to content

Commit

Permalink
Tried to clean up err handling a bit
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 to figure
  this out on its own, but it makes the code more readable in some
  places.
  • Loading branch information
geky committed Sep 14, 2023
1 parent 3eb5997 commit 6406225
Showing 1 changed file with 84 additions and 65 deletions.
Loading

0 comments on commit 6406225

Please sign in to comment.