Skip to content

Commit

Permalink
dyld: fix a build error
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Jul 25, 2023
1 parent b307c1e commit b92765a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libdyld/dyld.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,9 +670,7 @@ dyld_load_object_from_file(struct dyld *d, const struct name *name,
goto fail;
}
obj->name = name;
#if defined(TOYWASM_ENABLE_TRACING)
const struct name *objname = dyld_object_name(obj);
#endif
ret = map_file(filename, (void *)&obj->bin, &obj->binsz);
if (ret != 0) {
goto fail;
Expand Down

0 comments on commit b92765a

Please sign in to comment.