Skip to content

Commit

Permalink
removed unneeded null check
Browse files Browse the repository at this point in the history
  • Loading branch information
codeplea committed Apr 5, 2024
1 parent 5c3dd60 commit 9907207
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tinyexpr.c
Original file line number Diff line number Diff line change
Expand Up @@ -692,9 +692,6 @@ te_expr *te_compile(const char *expression, const te_variable *variables, int va

double te_interp(const char *expression, int *error) {
te_expr *n = te_compile(expression, 0, 0, error);
if (n == NULL) {
return NAN;
}

double ret;
if (n) {
Expand Down

0 comments on commit 9907207

Please sign in to comment.