Skip to content

Commit

Permalink
Process review comment by @dcepelik
Browse files Browse the repository at this point in the history
  • Loading branch information
k0ekk0ek committed Nov 27, 2024
1 parent 831116c commit 9b13a9f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/zone.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@ static int32_t resolve_path(const char *include, char **path)
char *resolved;
char buffer[PATH_MAX + 1];

resolved = realpath(include, buffer);

if (!(resolved = realpath(include, buffer)))
return (errno == ENOMEM) ? ZONE_OUT_OF_MEMORY : ZONE_NOT_A_FILE;
assert(resolved == buffer);
Expand Down

0 comments on commit 9b13a9f

Please sign in to comment.