Skip to content

Commit

Permalink
Code tidy.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmartin82 committed Feb 12, 2025
1 parent 4472442 commit fab6987
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/time_range.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ static bool _z_time_range_parse_duration(const _z_str_se_t *bound, double *durat
char *err;
double value = strtod(bound->start, &err);
z_free(buf);
if (value == 0 && *err != '\0')
{
if (value == 0 && *err != '\0') {
return false;
}
value *= multiplier;
Expand Down

0 comments on commit fab6987

Please sign in to comment.